tagdemux: Use upstream GST_EVENT_STREAM_START if present
authorEdward Hervey <edward@centricular.com>
Thu, 27 Sep 2018 13:03:10 +0000 (15:03 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 27 Sep 2018 13:09:06 +0000 (15:09 +0200)
commit8707914d23155d2734b1bf12ed7ba494e0783dec
tree5f89b31107ff2f2dba31313c68cccde74fa83ce3
parent2c44c5fb40fddbf06a3aaf0d49054443a8a20fba
tagdemux: Use upstream GST_EVENT_STREAM_START if present

If we have an upstream GST_EVENT_STREAM_START, use that one instead
of creating a new one which could be completely different from the
upstream one and drop information (like the stream flags and stream
object).

Only create a new event if we don't already have one from upstream

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