mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 16:35:40 +00:00
mfvideoencoder: Document only hardware encoders
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3250>
This commit is contained in:
parent
e9415aafb5
commit
9d926ae8b1
1 changed files with 1 additions and 1 deletions
|
@ -1921,7 +1921,7 @@ gst_mf_video_encoder_register_internal (GstPlugin * plugin, guint rank,
|
|||
if (rank > 0 && !is_default)
|
||||
rank--;
|
||||
|
||||
if (!is_default)
|
||||
if (!is_default || !device_caps->d3d11_aware)
|
||||
gst_element_type_set_skip_documentation (type);
|
||||
|
||||
if (!gst_element_register (plugin, feature_name, rank, type))
|
||||
|
|
Loading…
Reference in a new issue