basevideocodec: By default don't allow caps changes on the srcpad
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 26 Jun 2009 13:17:21 +0000 (15:17 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 26 Jun 2009 13:20:09 +0000 (15:20 +0200)
commit939baee2bdc12994f5b13d27bce73ff98a4cb3d0
treef23c285fa25934fe13e6e314bf1598d9a9b17e0b
parent0fd47d8ba68e6dc64894c09ae54d83382459973d
basevideocodec: By default don't allow caps changes on the srcpad

This fixed playback of Dirac files with schrodec when upstream wants
a different width/height, basevideocodec accepts this and then
pushes buffers with new caps but content of the old caps.
In the best case this will just result in wrong unit size and a
failure in basestransform elements.
gst-libs/gst/video/gstbasevideocodec.c