x264enc: put all theoretically possible formats in template caps
authorTim-Philipp Müller <tim@centricular.net>
Fri, 8 Feb 2013 00:11:03 +0000 (00:11 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 8 Feb 2013 00:11:03 +0000 (00:11 +0000)
commit201e3f74be99915582418d2ec27b7069805fb01d
tree7a6f2b9bda4910714e3d712c4017ee986f335665
parente765deb01b781354cac2cbaf930cbea5e7d9d9f1
x264enc: put all theoretically possible formats in template caps

and decide at runtime which subset of these (8-bit or 10-bit video
formats) is supported. libx264 will be compiled for one of these
two options, and it is possible to switch by pointing the dynamic
linker to a different libx264 build at runtime. If we want our
template caps to be correct, they should contain all then, with
the actually supported ones determined at runtime.

https://bugzilla.gnome.org/show_bug.cgi?id=691935
ext/x264/gstx264enc.c