mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
amfcodec: Promote encoder rank to PRIMARY
This H/W encoder implementation is the recommended element on AMD system over the MediaFoundation one. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3394>
This commit is contained in:
parent
92abb8daec
commit
433301d0e5
2 changed files with 4 additions and 4 deletions
|
@ -675,7 +675,7 @@
|
|||
"writable": true
|
||||
}
|
||||
},
|
||||
"rank": "none"
|
||||
"rank": "primary"
|
||||
},
|
||||
"amfh265enc": {
|
||||
"author": "Seungha Yang <seungha@centricular.com>",
|
||||
|
@ -909,7 +909,7 @@
|
|||
"writable": true
|
||||
}
|
||||
},
|
||||
"rank": "none"
|
||||
"rank": "primary"
|
||||
}
|
||||
},
|
||||
"filename": "gstamfcodec",
|
||||
|
|
|
@ -105,9 +105,9 @@ plugin_init (GstPlugin * plugin)
|
|||
|
||||
if (result == AMF_OK) {
|
||||
gst_amf_h264_enc_register_d3d11 (plugin, device,
|
||||
(gpointer) context.GetPtr (), GST_RANK_NONE);
|
||||
(gpointer) context.GetPtr (), GST_RANK_PRIMARY);
|
||||
gst_amf_h265_enc_register_d3d11 (plugin, device,
|
||||
(gpointer) context.GetPtr (), GST_RANK_NONE);
|
||||
(gpointer) context.GetPtr (), GST_RANK_PRIMARY);
|
||||
}
|
||||
|
||||
gst_clear_object (&device);
|
||||
|
|
Loading…
Reference in a new issue