qtdemux: don't assert if upstream size is not available when guessing bitrates
authorTim-Philipp Müller <tim@centricular.net>
Fri, 12 Oct 2012 23:03:29 +0000 (00:03 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 12 Oct 2012 23:08:01 +0000 (00:08 +0100)
commite9682b938a56e52c168143d481f69028e5cf1f74
tree49ce27add9925e64952842a7bd227307674247af
parent3a3a7c38aa94225997e0d5ae7b56c8b9263fff2c
qtdemux: don't assert if upstream size is not available when guessing bitrates

Fixes abort in push mode where the source is not seekable and the
size of the file is not available, as with

  cat foo.mp4 | gst-launch-1.0 playbin uri=fd://0

Less noticable with releases, since we disable all
g_assert() there.

https://bugzilla.gnome.org/show_bug.cgi?id=686008
gst/isomp4/qtdemux.c