Object class 'GstBin' has no property named 'sync'

• Hardware Platform (Jetson / GPU)
x86-64 Ubuntu 20.04 LTS machine with Geforce GTX 3060
• DeepStream Version
6.1.0
• TensorRT Version
8.2.5.1
• NVIDIA GPU Driver Version (valid for GPU only)
515.48.07
• Issue Type( questions, new requirements, bugs)
I want to change the sink group parameter when the pipeline is playing, so I use gst_bin_get_by_name to get the specific group named sink_sub_bin1 in deepstream-app demo,but I get the error as below:
object class ‘GstBin’ has no property named ‘sync’
the code modified based on deepstream-app is as below:
GstElement* sink1 = gst_bin_get_by_name(GST_BIN(appCtx[0]->pipeline.pipeline),“sink_sub_bin1”);
g_object_set(G_OBJECT(sink1),“sync”,TRUE,NULL);
gst_object_unref(sink1);

You can use the gst-inspect-1.0 to check if the plugin you used has the property.

I want to change the sink group parameter when the pipeline is playing,the number of sink groups is fixed, What should I do to achieve this function?

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

1.You should to make sure the parameters can be changed when the pipeline is playing.

gst-inspect-1.0  your_plugin

2.If the parameters can be changed when the pipeline is playing, you need to implement the relevant logic yourself in your demo code.

If you have new problems, please open a new topic. We try to ensure that the problems are consistent with the title for the convenience of others’ reference. Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.