mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
rmdemux: set GST_BUFFER_FLAG_DELTA_UNIT properly
Signed-off-by: Rob Clark <rob@ti.com>
This commit is contained in:
parent
fa5192ffb4
commit
987c199370
1 changed files with 4 additions and 0 deletions
|
@ -2462,6 +2462,10 @@ gst_rmdemux_parse_video_packet (GstRMDemux * rmdemux, GstRMDemuxStream * stream,
|
|||
stream->discont = FALSE;
|
||||
}
|
||||
|
||||
if (!key) {
|
||||
GST_BUFFER_FLAG_SET (out, GST_BUFFER_FLAG_DELTA_UNIT);
|
||||
}
|
||||
|
||||
ret = gst_pad_push (stream->pad, out);
|
||||
ret = gst_rmdemux_combine_flows (rmdemux, stream, ret);
|
||||
if (ret != GST_FLOW_OK)
|
||||
|
|
Loading…
Reference in a new issue