vaapidecode: increase the rank to GST_RANK_PRIMARY + 1
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Tue, 18 Nov 2014 12:07:57 +0000 (14:07 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 18 Nov 2014 17:38:33 +0000 (18:38 +0100)
commit0ddf6b21b960c43e11e196322ae709ad84ea8124
tree2c99800b92a5d7b49dea5c1e9dc01597247d6193
parentd1b7dc21f82124718da5f8560319b43d190f3fdd
vaapidecode: increase the rank to GST_RANK_PRIMARY + 1

This is for helping decodebin to autoplug the vaapidecode element.

Decodebin is selecting decoder elements only based on rank and caps.
Without overriding the autoplug-* signals there is no way to autoplug
HW decoders inside decodebin. An easier soulution is to raise the
rank of vaapidecode, so that it gets selected first.

https://bugzilla.gnome.org/show_bug.cgi?id=739332
gst/vaapi/gstvaapi.c