AW: vaapidecode ranking

Bernhard Graaf bernhard.graaf at gmx.de
Wed Apr 27 12:30:34 UTC 2016


Hi Victor,

Thanks a lot for helping!
Now it works

Bernhard

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org]
Im Auftrag von Víctor M. Jáquez L.
Gesendet: Mittwoch, 27. April 2016 15:03
An: Discussion of the development of and with GStreamer
Betreff: Re: vaapidecode ranking

On 04/27/16 at 12:25pm, Bernhard Graaf wrote:
> I try to use avdec_h264 instead of vaapidecode in decodebin because of
some
> issues in vaapidecode (artefact on j1800/j1900 Intel processors).
> 
> I use this code to 'unregister' vaapidecode: 
> 
> void unreg_vaapi()
> {
>   GstRegistry* reg = gst_registry_get();
> 
>   GstPluginFeature* vaapi_decode = gst_registry_lookup_feature(reg,
> "vaapidecode");

[snip]

>   g_print("Rank of vaapidecode was: %i\n",
> gst_plugin_feature_get_rank(vaapi_decode));
> 
>   gst_plugin_feature_set_rank(vaapi_decode, GST_RANK_NONE);
> 
>   g_print("Rank of vaapidecode new: %i\n",
> gst_plugin_feature_get_rank(vaapi_decode));

I guess you should do the same for vaapidecodebin

vmjl
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list