camerabin2: Add a flag to disable image conversion elements
authorRobert Swain <robert.swain@collabora.co.uk>
Thu, 1 Sep 2011 13:57:50 +0000 (15:57 +0200)
committerRobert Swain <robert.swain@collabora.co.uk>
Thu, 1 Sep 2011 13:57:50 +0000 (15:57 +0200)
commitdb0739e54f6d1917d5899cf8d2f5c817ab4fb6cf
treee8c4b813ed0b402ce73e5fc449643a9113bdc6db
parentd663259d4ba75820d1e85a35b9aea9dda823d73b
camerabin2: Add a flag to disable image conversion elements

If we know that our camera source element produces buffers at the same
resolution and appropriate colourspace for the output, we don't need any
of the generic conversion elements in encodebin. This reduces caps
negotiation overheads among other things.
gst/camerabin2/gstcamerabin2.c
gst/camerabin2/gstcamerabin2.h