vaapidecode ranking

Víctor M. Jáquez L. vjaquez at igalia.com
Wed Apr 27 13:03:05 UTC 2016


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


More information about the gstreamer-devel mailing list