* Boston, MA 02110-1301, USA.
*/
+/**
+ * element-nvcudah265enc:
+ *
+ * NVIDIA CUDA mode H.265 encoder
+ *
+ * Since: 1.22
+ */
+
+/**
+ * element-nvd3d11h265enc:
+ *
+ * NVIDIA Direct3D11 mode H.265 encoder
+ *
+ * Since: 1.22
+ */
+
+/**
+ * element-nvautogpuh265enc:
+ *
+ * NVIDIA auto GPU select mode H.265 encoder
+ *
+ * Since: 1.22
+ */
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
g_object_class_install_property (object_class, PROP_CUDA_DEVICE_ID,
g_param_spec_uint ("cuda-device-id", "CUDA Device ID",
"CUDA device ID of associated GPU",
- 0, G_MAXINT, cdata->cuda_device_id,
- (GParamFlags) (G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)));
+ 0, G_MAXINT, 0,
+ (GParamFlags) (GST_PARAM_DOC_SHOW_DEFAULT |
+ G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)));
break;
case GST_NV_ENCODER_DEVICE_D3D11:
g_object_class_install_property (object_class, PROP_ADAPTER_LUID,
g_param_spec_int64 ("adapter-luid", "Adapter LUID",
"DXGI Adapter LUID (Locally Unique Identifier) of associated GPU",
- G_MININT64, G_MAXINT64, cdata->adapter_luid,
- (GParamFlags) (G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)));
+ G_MININT64, G_MAXINT64, 0,
+ (GParamFlags) (GST_PARAM_DOC_SHOW_DEFAULT |
+ G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)));
break;
case GST_NV_ENCODER_DEVICE_AUTO_SELECT:
if (cdata->cuda_device_id_size > 0) {
g_object_class_install_property (object_class, PROP_CUDA_DEVICE_ID,
g_param_spec_uint ("cuda-device-id", "CUDA Device ID",
"CUDA device ID to use",
- 0, G_MAXINT, cdata->cuda_device_id, conditional_param_flags));
+ 0, G_MAXINT, 0,
+ (GParamFlags) (conditional_param_flags |
+ GST_PARAM_DOC_SHOW_DEFAULT)));
}
if (cdata->adapter_luid_size > 0) {
g_object_class_install_property (object_class, PROP_ADAPTER_LUID,
g_param_spec_int64 ("adapter-luid", "Adapter LUID",
"DXGI Adapter LUID (Locally Unique Identifier) to use",
- G_MININT64, G_MAXINT64, cdata->adapter_luid,
- conditional_param_flags));
+ G_MININT64, G_MAXINT64, 0,
+ (GParamFlags) (conditional_param_flags |
+ GST_PARAM_DOC_SHOW_DEFAULT)));
}
break;
default:
gst_element_class_set_static_metadata (element_class,
"NVENC H.265 Video Encoder Direct3D11 Mode",
"Codec/Encoder/Video/Hardware",
- "Encode H.264 video streams using NVCODEC API Direct3D11 Mode",
+ "Encode H.265 video streams using NVCODEC API Direct3D11 Mode",
"Seungha Yang <seungha@centricular.com>");
break;
case GST_NV_ENCODER_DEVICE_AUTO_SELECT:
gst_element_class_set_static_metadata (element_class,
"NVENC H.265 Video Encoder Auto GPU select Mode",
"Codec/Encoder/Video/Hardware",
- "Encode H.264 video streams using NVCODEC API auto GPU select Mode",
+ "Encode H.265 video streams using NVCODEC API auto GPU select Mode",
"Seungha Yang <seungha@centricular.com>");
break;
default:
if (rank > 0 && index != 0)
rank--;
+ if (index != 0)
+ gst_element_type_set_skip_documentation (type);
+
if (!gst_element_register (plugin, feature_name, rank, type))
GST_WARNING ("Failed to register plugin '%s'", type_name);
if (rank > 0 && index != 0)
rank--;
+ if (index != 0)
+ gst_element_type_set_skip_documentation (type);
+
if (!gst_element_register (plugin, feature_name, rank, type))
GST_WARNING ("Failed to register plugin '%s'", type_name);