vaapidecode: renegotiate if caps are not equal
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Fri, 28 Aug 2015 21:27:05 +0000 (00:27 +0300)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Fri, 28 Aug 2015 21:27:05 +0000 (00:27 +0300)
commit32d1c5adff4c478a2b7aab0dc9a87de4839cd03b
treec2b80eb3ed434c9409601f285380dd10f8219cdd
parent6eba201f3252eba6a99ab7da7a4c662091a3e884
vaapidecode: renegotiate if caps are not equal

The use of gst_caps_is_always_compatible() for this optimization may lead to
false positives. It is better to stick to gst_caps_is_strictly_equal() to know
if it is required a re-negotiation.

Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
https://bugzilla.gnome.org/show_bug.cgi?id=750835
gst/vaapi/gstvaapidecode.c