diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2010-09-14 14:38:17 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2010-09-14 14:38:17 +0800 |
commit | 9d7af3cbb13bb74ccc28427a7261be514f7cb241 (patch) | |
tree | b2ce90eed594106bc733e2f1824e9149d2cfad6a /libempathy-gtk/empathy-protocol-chooser.h | |
parent | b28a581a457842fb703b3ed85110e1e4c68f3707 (diff) | |
download | gsoc2013-empathy-9d7af3cbb13bb74ccc28427a7261be514f7cb241.tar gsoc2013-empathy-9d7af3cbb13bb74ccc28427a7261be514f7cb241.tar.gz gsoc2013-empathy-9d7af3cbb13bb74ccc28427a7261be514f7cb241.tar.bz2 gsoc2013-empathy-9d7af3cbb13bb74ccc28427a7261be514f7cb241.tar.lz gsoc2013-empathy-9d7af3cbb13bb74ccc28427a7261be514f7cb241.tar.xz gsoc2013-empathy-9d7af3cbb13bb74ccc28427a7261be514f7cb241.tar.zst gsoc2013-empathy-9d7af3cbb13bb74ccc28427a7261be514f7cb241.zip |
Change videosrc element ordering
GStreamers basetransform has a nasty issue where its caps negotiation doesn't
keep the ordering of caps when unioning, as a result of this linking the
pipeline as "<src> ! videoscale ! colorspace ! video/x-raw-yuv" means at the
<src> element yuv is no longer preferred.
Changing the pipeline to be "<src> ! colorspace ! videoscale ! video/x-raw-yuv"
forces the videoscale to only negotiate video/x-raw-yuv, which in turns ensures
the colorspace and <src> element pick the right colorspace.
In combination with emulated formats in v4l2src picking the wrong colorspace
causes quite a performance hit (the src would do a color conversion in libv4l,
while the colorspace element would later convert it back to a colorspace
actually native to the src device!)
Diffstat (limited to 'libempathy-gtk/empathy-protocol-chooser.h')
0 files changed, 0 insertions, 0 deletions