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)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:00 +0000 (19:32 +0000)
commitc2450a28f5b582f516014213717f366ce62d8ec0
treeaaa761bd9afd1478dad2f2e3e00e21e05c6b23c8
parent343947f383e11897e05701aef3373865be979612
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