mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 23:14:46 +00:00
baseparse: also unset DISCONT on buffers in reverse playback fragments
This commit is contained in:
parent
221d65a5e0
commit
9bcebaacc7
1 changed files with 6 additions and 0 deletions
|
@ -2783,6 +2783,12 @@ gst_base_parse_send_buffers (GstBaseParse * parse)
|
|||
if (first) {
|
||||
GST_BUFFER_FLAG_SET (buf, GST_BUFFER_FLAG_DISCONT);
|
||||
first = FALSE;
|
||||
} else {
|
||||
/* likewise, subsequent buffers should never have DISCONT
|
||||
* according to the "reverse fragment protocol", or such would
|
||||
* confuse a downstream decoder
|
||||
* (could be DISCONT due to aggregating upstream fragments by parsing) */
|
||||
GST_BUFFER_FLAG_UNSET (buf, GST_BUFFER_FLAG_DISCONT);
|
||||
}
|
||||
|
||||
/* iterate output queue an push downstream */
|
||||
|
|
Loading…
Reference in a new issue