glcolorconvert: Improve passthrough check when no conversion is needed.
authorJan Schmidt <jan@centricular.com>
Sun, 3 May 2015 13:08:15 +0000 (23:08 +1000)
committerJan Schmidt <jan@centricular.com>
Mon, 4 May 2015 03:30:13 +0000 (13:30 +1000)
commit2ed71bee3b8ea2ea65302bb8f02ed7412ea93c25
treee5938be1191e38db7ea55ed4afde21f608e92092
parentf9f6bbf4f575c3d0f8df61a38e5b97d0933a67c0
glcolorconvert: Improve passthrough check when no conversion is needed.

Make the passthrough check contingent on only the fields we
can modify being unchanged, and pre-compute it when caps
change instead of checking on each buffer. Makes the passthrough
more lenient if consumers are lax about making input and output
caps complete.
gst-libs/gst/gl/gstglcolorconvert.c
gst-libs/gst/gl/gstglcolorconvert.h