GNOME Bugzilla – Bug 757629
vaapiencode: use pad query vmethods
Last modified: 2015-11-10 16:51:14 UTC
This is a continuation of commit 2f8c1159, where the pad query virtual methods are implemented in the decoder. This patchset is the same for the encoder, and guards the old pointers to pad query functions for old version of gstreamer, so they can be safely removed when the support for gstreamer 1.2 be dropped.
Created attachment 314909 [details] [review] vaapiencode: use pad query vmethods GstVideoEncoder, the base class of vaapiencode, added support for pad queries as virtual methods since gstreamer 1.4. This patch enables those vmethods, while keeps support for previous versions of gstreamer. This patch is relevant since GstVideoEncoder takes care of other queries that we are currently ignoring. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Created attachment 314910 [details] [review] plugin: guard pointers to pad query functions Since gstreamer 1.4 is not required to have pad query functions if the query vmethods are used. This patch guards out the pad query functions for gstreamer < 1.4 Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Attachment 314909 [details] pushed as ea80207 - vaapiencode: use pad query vmethods Attachment 314910 [details] pushed as 1efe569 - plugin: guard pointers to pad query functions