baseparse: handle streamheaders by prepending them to the stream
authorThiago Santos <thiagoss@osg.samsung.com>
Mon, 25 Aug 2014 16:44:30 +0000 (13:44 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Wed, 27 Aug 2014 13:30:09 +0000 (10:30 -0300)
commit59c34a8ff75d8cbfb24759711a2c35599f9ae52d
tree359f8523bde0ee9845e29d9412b8af09837866cc
parented15b309307b5fe907c34053f5035183b7d9ec68
baseparse: handle streamheaders by prepending them to the stream

Add a first_buffer boolean state flag to have baseparse do actions
before pushing data. This is used to check the caps for streamheader
buffers that are prepended to the stream, but only if the first buffer
isn't already marked with the _HEADER flag. In this case, it is assumed
that the _HEADER marked buffer is the same as the streamheader.

https://bugzilla.gnome.org/show_bug.cgi?id=735070
libs/gst/base/gstbaseparse.c