tagdemux: fix erroring out if we reach EOS without detecting type
authorTim-Philipp Müller <tim@centricular.com>
Thu, 30 Jun 2016 16:30:34 +0000 (17:30 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 30 Jun 2016 17:53:02 +0000 (18:53 +0100)
commit130e78dbd8ac2a11f8f8f0c293d1193ad639c2bf
treeb00a0e64f81c158b45cc4fb72f28a85aeeca715d
parent4b6e43fa5b59d33f4a5e5f70697f2a7a6a93a252
tagdemux: fix erroring out if we reach EOS without detecting type

In 0.10 the source pad was a dynamic pad that was only added once
the type had been detected, but in 1.x it's an always source pad,
so checking whether it's still NULL won't work to detect if the
type has been detected.

Makes tagdemux error out when we get EOS but haven't managed to
identify the format of the data after the tag.

https://bugzilla.gnome.org//show_bug.cgi?id=768178
gst-libs/gst/tag/gsttagdemux.c