diff --git a/gst/mpegtsdemux/mpegtsbase.c b/gst/mpegtsdemux/mpegtsbase.c index 4751028cdf..1836e9d83a 100644 --- a/gst/mpegtsdemux/mpegtsbase.c +++ b/gst/mpegtsdemux/mpegtsbase.c @@ -1110,7 +1110,7 @@ mpegts_base_chain (GstPad * pad, GstObject * parent, GstBuffer * buf) return res; mpegts_base_flush (base, FALSE); - mpegts_packetizer_flush (base->packetizer, FALSE); + mpegts_packetizer_flush (base->packetizer, base->mode == BASE_MODE_PUSHING); } mpegts_packetizer_push (base->packetizer, buf);