cudaipc: Use empty string for address property docs

Since Windows and Linux have different default values,
use empty string when generating plugin docs

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8325>
This commit is contained in:
Seungha Yang 2025-01-20 21:29:52 +09:00 committed by GStreamer Marge Bot
parent 1f481fe1d5
commit c01ef564d9
2 changed files with 8 additions and 6 deletions

View file

@ -166,9 +166,10 @@ gst_cuda_ipc_sink_class_init (GstCudaIpcSinkClass * klass)
g_object_class_install_property (object_class, PROP_ADDRESS,
g_param_spec_string ("address", "Address",
"Server address. Specifies name of WIN32 named pipe "
"or unix domain socket path on Linux",
DEFAULT_ADDRESS, (GParamFlags) (G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS | GST_PARAM_MUTABLE_READY)));
"or unix domain socket path on Linux", "",
(GParamFlags) (G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS | GST_PARAM_MUTABLE_READY |
GST_PARAM_DOC_SHOW_DEFAULT)));
g_object_class_install_property (object_class, PROP_IPC_MODE,
g_param_spec_enum ("ipc-mode", "IPC Mode",

View file

@ -152,9 +152,10 @@ gst_cuda_ipc_src_class_init (GstCudaIpcSrcClass * klass)
g_object_class_install_property (object_class, PROP_ADDRESS,
g_param_spec_string ("address", "Address",
"Server address. Specifies name of WIN32 named pipe "
"or unix domain socket path on Linux",
DEFAULT_ADDRESS, (GParamFlags) (G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS | GST_PARAM_MUTABLE_READY)));
"or unix domain socket path on Linux", "",
(GParamFlags) (G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS | GST_PARAM_MUTABLE_READY |
GST_PARAM_DOC_SHOW_DEFAULT)));
g_object_class_install_property (object_class, PROP_PROCESSING_DEADLINE,
g_param_spec_uint64 ("processing-deadline", "Processing deadline",