gstreamer/gst
Edward Hervey f86751d9f7 asfdemux: Fix prerolling files with "empty" streams
This is a regression that was introduced by
commit 1803b3c185
"    asfdemux: Add support for dvr-ms"

The problem is that some files/streams might contain stream definition
but there is no actual packets for those streams.

This was used to "define" streams with different bitrates for example.

The first_ts calculation resulted in never ever finding a valid first_ts
since some streams were empty, and therefore never "activating" itself.

Instead of that we first check if we are prerolled. And if we are we
unconditionally get the "first_ts"

The preroll check has been adapted to check whether streams of
each defined type (i.e. audio/video/sub) has been prerolled. This solves
the problem of having different streams of a particular type where only
one stream actually has data.
2017-11-13 11:13:30 +01:00
..
asfdemux asfdemux: Fix prerolling files with "empty" streams 2017-11-13 11:13:30 +01:00
dvdlpcmdec dvdlpmdec: Fix overrun from coverity 2017-07-11 14:23:27 +03:00
dvdsub Remove plugin specific static build option 2017-05-16 14:07:56 -04:00
realmedia realmedia: fix leak in asmrules error code path 2017-08-31 19:27:02 +01:00
xingmux Remove plugin specific static build option 2017-05-16 14:07:56 -04:00
Makefile.am build: build plugins in parallel where possible, if make -jN is used 2010-03-30 01:18:50 +01:00
meson.build Add support for Meson as alternative/parallel build system 2016-08-20 11:29:37 +01:00