vaapidecode: call the correct query function
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 16 Mar 2015 21:10:53 +0000 (23:10 +0200)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Mon, 16 Mar 2015 21:10:53 +0000 (23:10 +0200)
commitd8d2f00bd031ccce1eae80e0c38918eb25b768e3
treed2dc86f7bed76549c3d87c785c38b681969f3cb6
parentccccbf4b09c952306a154d343bf3b00722d43da7
vaapidecode: call the correct query function

In commit 2f8c115 (vaapidecode: use the query virtual methods in 1.4)
a bug was introduced: when calling the parent's query function of the
src pad, the one of the sink pad is called instead. This patch fixes
this issue.

https://bugzilla.gnome.org/show_bug.cgi?id=746248
gst/vaapi/gstvaapidecode.c