gstreamer/gst/playback
Tim-Philipp Müller 7c89a7298a streamsynchronizer: don't send gap events with huge bogus durations when advancing EOS streams
When the input buffers for a stream don't have a duration set,
timestamp_end might still be GST_CLOCK_TIME_NONE. When advancing
EOSed streams via GAP events (with other streams not yet EOS), we
would then use the invalid timestamp_end to calculate the duration
of the gap. This in turn would make baseaudiosink abort, because it
would try to allocate memory for a trizillion samples.

So if buffers don't have a duration set, assume a duration of
one second for stream catch-up purposes, just so we can still
continue to catch up in those cases. And make sure that
timestamp_end is valid before doing calculations with it.

http://bugzilla.gnome.org/show_bug.cgi?id=678530
2012-11-26 19:03:38 +00:00
..
.gitignore playsink: remove old marshal remains 2012-07-13 12:35:44 +02:00
gstdecodebin2.c decodebin: Set element to NULL state before removing it from the bin 2012-11-22 13:09:46 +01:00
gstplay-enum.c Fix FSF address 2012-11-03 23:05:09 +00:00
gstplay-enum.h Fix FSF address 2012-11-03 23:05:09 +00:00
gstplayback.c streamsynchronizer: Make the element public 2012-11-21 10:29:44 +01:00
gstplayback.h Fix FSF address 2012-11-03 23:05:09 +00:00
gstplaybin2.c Fix FSF address 2012-11-03 23:05:09 +00:00
gstplaysink.c Fix FSF address 2012-11-03 23:05:09 +00:00
gstplaysink.h Fix FSF address 2012-11-03 23:05:09 +00:00
gstplaysinkaudioconvert.c Fix FSF address 2012-11-03 23:05:09 +00:00
gstplaysinkaudioconvert.h Fix FSF address 2012-11-03 23:05:09 +00:00
gstplaysinkconvertbin.c Fix FSF address 2012-11-03 23:05:09 +00:00
gstplaysinkconvertbin.h Fix FSF address 2012-11-03 23:05:09 +00:00
gstplaysinkvideoconvert.c Fix FSF address 2012-11-03 23:05:09 +00:00
gstplaysinkvideoconvert.h Fix FSF address 2012-11-03 23:05:09 +00:00
gstrawcaps.h Fix FSF address 2012-11-03 23:05:09 +00:00
gststreamsynchronizer.c streamsynchronizer: don't send gap events with huge bogus durations when advancing EOS streams 2012-11-26 19:03:38 +00:00
gststreamsynchronizer.h streamsynchronizer: Make the element public 2012-11-21 10:29:44 +01:00
gstsubtitleoverlay.c Fix FSF address 2012-11-03 23:05:09 +00:00
gstsubtitleoverlay.h Fix FSF address 2012-11-03 23:05:09 +00:00
gsturidecodebin.c Fix FSF address 2012-11-03 23:05:09 +00:00
Makefile.am Revert "gst: Add better support for static plugins" 2012-10-24 13:26:26 +02:00