mfvideoencoder: Document only hardware encoders

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3250>
This commit is contained in:
Seungha Yang 2022-10-22 04:09:39 +09:00 committed by GStreamer Marge Bot
parent e9415aafb5
commit 9d926ae8b1

View file

@ -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))