From 08bbab889bdd4f793455516a9f4e1e0e9a4a48a1 Mon Sep 17 00:00:00 2001 From: Sreerenj Balachandran Date: Mon, 3 Nov 2014 19:20:43 +0200 Subject: [PATCH] vaapipostproc: Add string representation of VPP functions to ElementFactoy Klass Added the same Klass specifications used in other upstream video postprocessing elements like videoconvert, videoscale, videobalance and deinterlace. An example use case is for this is to help the playsink to autoplug the hardware accelerated deinterlacer. --- gst/vaapi/gstvaapipostproc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/vaapi/gstvaapipostproc.c b/gst/vaapi/gstvaapipostproc.c index 2664b61..482d5b7 100644 --- a/gst/vaapi/gstvaapipostproc.c +++ b/gst/vaapi/gstvaapipostproc.c @@ -1568,7 +1568,8 @@ gst_vaapipostproc_class_init(GstVaapiPostprocClass *klass) gst_element_class_set_static_metadata(element_class, "VA-API video postprocessing", - "Filter/Converter/Video", + "Filter/Converter/Video;Filter/Converter/Video/Scaler;" + "Filter/Effect/Video;Filter/Effect/Video/Deinterlace", GST_PLUGIN_DESC, "Gwenole Beauchesne "); -- 2.7.4