avcodecmap: only restrict caps on encoders
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 10 Jul 2012 13:47:01 +0000 (15:47 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 10 Jul 2012 13:47:01 +0000 (15:47 +0200)
commit0e1d6c0011928673e2331671539fb0b7b1194ca7
tree29483ad4e2d000a78d65286c7975c1a0665c4a07
parentdc7bf19858993a93195ab3c67f77ed4185659dac
avcodecmap: only restrict caps on encoders

We only want to restrict the channels/rate and width/height on the encoder pads.
For decoders can't assume that the input caps contain channels/rate or
width/height so we need to accept everything.
ext/ffmpeg/gstffmpegcodecmap.c