diff options
Diffstat (limited to 'gst/matroska/matroska-demux.c')
| -rw-r--r-- | gst/matroska/matroska-demux.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index 37351742..f5f77333 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.c @@ -2274,6 +2274,12 @@ gst_matroska_demux_push_hdr_buf (GstMatroskaDemux * demux, if (flow == GST_FLOW_OK) { memcpy (GST_BUFFER_DATA (header_buf), data, len); + + if (stream->set_discont) { + GST_BUFFER_FLAG_SET (header_buf, GST_BUFFER_FLAG_DISCONT); + stream->set_discont = FALSE; + } + flow = gst_pad_push (stream->pad, header_buf); } |
