tsdemux: Clear all streams when rewinding
authorEdward Hervey <edward@centricular.com>
Thu, 3 Jun 2021 09:24:53 +0000 (11:24 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 3 Jun 2021 22:54:12 +0000 (22:54 +0000)
commit80b3ba7b36f323a15f86eeb16633825d212c440e
tree0676e02dd8df53062d140c16b0e722b1e1bf1eb3
parent74f81a1a130554d1728ad7270994352ff9c8f8f4
tsdemux: Clear all streams when rewinding

This avoids sending out partial invalid data downstream which could cause
decoders (ex: `dvdlpmdec`) to error out.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2301>
gst/mpegtsdemux/tsdemux.c