[gst-cvs] gst-plugins-good: h264depay: always mark the codec_data as keyframe

Wim Taymans wtay at kemper.freedesktop.org
Wed Oct 13 02:49:39 PDT 2010


Module: gst-plugins-good
Branch: master
Commit: 9f8b56b9742d865c2dc59f5e505a8d1871c2d507
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=9f8b56b9742d865c2dc59f5e505a8d1871c2d507

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Wed Oct 13 11:46:58 2010 +0200

h264depay: always mark the codec_data as keyframe

We need to mark the codec_data as a keyframe or else downstream decoders might
decide to skip it, waiting for a keyframe.

Fixes #631996

---

 gst/rtp/gstrtph264depay.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gst/rtp/gstrtph264depay.c b/gst/rtp/gstrtph264depay.c
index 1d033c8..697d818 100644
--- a/gst/rtp/gstrtph264depay.c
+++ b/gst/rtp/gstrtph264depay.c
@@ -484,6 +484,7 @@ gst_rtp_h264_depay_handle_nal (GstRtpH264Depay * rtph264depay, GstBuffer * nal,
       GST_DEBUG_OBJECT (depayload, "prepending codec_data");
       outbuf = gst_buffer_join (rtph264depay->codec_data, outbuf);
       rtph264depay->codec_data = NULL;
+      out_delta = FALSE;
     }
     outbuf = gst_buffer_make_metadata_writable (outbuf);
 





More information about the Gstreamer-commits mailing list