mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:06:17 +00:00
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:
parent
6f0030f701
commit
9f8b56b974
1 changed files with 1 additions and 0 deletions
|
@ -484,6 +484,7 @@ gst_rtp_h264_depay_handle_nal (GstRtpH264Depay * rtph264depay, GstBuffer * nal,
|
||||||
GST_DEBUG_OBJECT (depayload, "prepending codec_data");
|
GST_DEBUG_OBJECT (depayload, "prepending codec_data");
|
||||||
outbuf = gst_buffer_join (rtph264depay->codec_data, outbuf);
|
outbuf = gst_buffer_join (rtph264depay->codec_data, outbuf);
|
||||||
rtph264depay->codec_data = NULL;
|
rtph264depay->codec_data = NULL;
|
||||||
|
out_delta = FALSE;
|
||||||
}
|
}
|
||||||
outbuf = gst_buffer_make_metadata_writable (outbuf);
|
outbuf = gst_buffer_make_metadata_writable (outbuf);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue