asfdemux: Handle issues with "empty" files
authorEdward Hervey <edward@centricular.com>
Tue, 22 Nov 2016 15:22:49 +0000 (16:22 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 22 Nov 2016 17:21:46 +0000 (18:21 +0100)
commit45c7826d76dfcb94cebbc57208c553d432fdc4a9
tree316d8030ac57f2449bfb6b92ac10884401d549c0
parentaab716ac400b6687a46c14c214833b7e3bb33510
asfdemux: Handle issues with "empty" files

In some corrupted files, we could end up with no actual streams
being exposed.

In those cases, make sure we properly propagate the failure all
the way to the loop function. This avoids ending up in cases where
we are neither EOS'd nor ERROR'd out from a pipeline point of view.

https://bugzilla.gnome.org/show_bug.cgi?id=774846
gst/asfdemux/gstasfdemux.c