mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +00:00
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
This commit is contained in:
parent
d1b7dc21f8
commit
0ddf6b21b9
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ plugin_init (GstPlugin *plugin)
|
|||
GST_TYPE_VAAPIUPLOAD);
|
||||
#endif
|
||||
gst_element_register(plugin, "vaapidecode",
|
||||
GST_RANK_PRIMARY,
|
||||
GST_RANK_PRIMARY + 1,
|
||||
GST_TYPE_VAAPIDECODE);
|
||||
gst_element_register(plugin, "vaapipostproc",
|
||||
GST_RANK_PRIMARY,
|
||||
|
|
Loading…
Reference in a new issue