gdppay: update to 1.x reality
authorThiago Santos <ts.santos@sisa.samsung.com>
Fri, 31 Jan 2014 15:15:49 +0000 (12:15 -0300)
committerThiago Santos <ts.santos@sisa.samsung.com>
Sat, 1 Feb 2014 02:44:11 +0000 (23:44 -0300)
commita029a3503657c909e144ea527cc8cd7b8b0a9c13
tree012aa037cb8998db6b3e9c0fb95fe4bd45e6b123
parentc8eb403e383d4b306fdd24c2bba637c001dd0c1e
gdppay: update to 1.x reality

* stream-start-id is mandatory at the beginning, so add that to the
gdp headers
* caps must be sent before new segment, invert the order from legacy
0.10 code

And fix the tests as a ref is now kept for those buffers that compose
the header
gst/gdp/gstgdppay.c
gst/gdp/gstgdppay.h
tests/check/elements/gdppay.c