asfdemux: Handle chained asfs on pull mode
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Mon, 9 Nov 2009 16:30:45 +0000 (13:30 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Mon, 9 Nov 2009 17:24:13 +0000 (14:24 -0300)
commita155733bff1f6016be3aef1c6a58f613f8f9547d
treefa08146b1fce81f3957d5bd1f101d96725e8b986
parentdc65baacf6d5a92d9f769409802509bf3678a34a
asfdemux: Handle chained asfs on pull mode

Adds chained asfs handling to pull mode. It now checks if
there is a new asf header after the last packet (when it
is possible to know how many packets are) or it tries
checking if a processed packet that fails is an header
object.

Fixes #599718
gst/asfdemux/gstasfdemux.c
gst/asfdemux/gstasfdemux.h