[Bug 678530] asfdemux: incorrect length for truncated dancer.asf
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Nov 26 11:05:53 PST 2012
https://bugzilla.gnome.org/show_bug.cgi?id=678530
GStreamer | gst-plugins-ugly | git
Tim-Philipp Müller <t.i.m> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Version|unspecified |git
Summary|Incorrect length reported |asfdemux: incorrect length
|in truncated ASF |for truncated dancer.asf
Ever Confirmed|0 |1
--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2012-11-26 19:05:47 UTC ---
First, fix a little crash at the end:
commit 7c89a7298a1c7e6f411bfdd18db057e87045a47e
Author: Tim-Philipp Müller <tim at centricular.net>
Date: Mon Nov 26 18:41:07 2012 +0000
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
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list