ffmpegenc: If an encoder lists the supported pixfmts use them to create the caps
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 8 Aug 2009 20:43:06 +0000 (22:43 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 8 Aug 2009 20:43:06 +0000 (22:43 +0200)
commitd181dbd7a0e2fa1613c4312a7e9a6320c6a3933c
tree4879c66af447f6de8edb34d060da8480f969371b
parentea6a66b5b319832e659ed002dcb0bebe956e7a7c
ffmpegenc: If an encoder lists the supported pixfmts use them to create the caps

...instead of creating standard caps with all pixfmts.

Fixes bug #591038.
ext/ffmpeg/gstffmpegcodecmap.c
ext/ffmpeg/gstffmpegcodecmap.h
ext/ffmpeg/gstffmpegenc.c