ffdec: Make metadata writable before setting caps
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 11 Mar 2010 13:13:46 +0000 (10:13 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 11 Mar 2010 13:13:46 +0000 (10:13 -0300)
commitb234d0b308f9bafb505b2ee41500c8fa67a72d67
tree5a6f8168947ab1b64fc7ab2205fad1109425b66f
parentc300a0a9f24a0e6b5714ab4bfe1d8fd8a5f8bbfb
ffdec: Make metadata writable before setting caps

In case we haven't created the output buffer, we should make
metadata writable before setting caps on it.
Fixes check unit tests.
ext/ffmpeg/gstffmpegdec.c