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
This commit is contained in:
Wim Taymans 2010-10-13 11:46:58 +02:00
parent 6f0030f701
commit 9f8b56b974

View file

@ -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);