oggmux: use oggstream for less brittleness in recognizing headers
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 21 Jan 2011 16:05:46 +0000 (16:05 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 2 Feb 2011 17:34:41 +0000 (17:34 +0000)
commit440002a137640db2c5d6613d9bf56dfff997eb07
tree4b27509ef96b44fa0c28e766574a8da268769c79
parent2c017d2a70d49bf3a9cd40ba203b383e4a54fe59
oggmux: use oggstream for less brittleness in recognizing headers

Using the IN_CAPS flag for this is brittle, and will fail if either
vorbisparse or vorbistag (which is itself based on vorbisparse) is
inserted between oggdemux and oggmux. Possibly other elements too
(eg, theoraparse, etc).
Using oggstream ensures we Get It Right More Often Than Not.

https://bugzilla.gnome.org/show_bug.cgi?id=629196
ext/ogg/gstoggmux.c
ext/ogg/gstoggmux.h