<div dir="ltr">Hi!<div><br></div><div>I am using a netclock for mp3 server-client synchronisation.</div><div>It works good so far, the only problem is I want to disable the clock without destroying the pipeline.</div><div>So, at my client, after the stream I change the pipeline clock to the standard clock and try to unref the clock, but it still is referenced.</div><div><br></div><div><span style="white-space:pre">                </span>GstClock *net_clock = gst_pipeline_get_clock(GST_PIPELINE(call.pipeline));<br></div><div><div><span style="white-space:pre">               </span>gst_element_set_state(call.pipeline, GST_STATE_NULL);</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">          </span></div><div><span style="white-space:pre">              </span>gst_pipeline_auto_clock(GST_PIPELINE(call.pipeline));</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">          </span></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">               </span>gst_object_unref(net_clock);</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">           </span></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">               </span>g_print("clock name: %s refcounf: %d\n",net_clock-><a href="http://object.name">object.name</a>,net_clock->object.object.ref_count);</div></div><div><br></div><div style="">I still get the output:</div><div style=""><br></div><div style="">clock name: netclientclock0 refcount: 14</div><div style=""><br></div><div style="">I checked the pipeline clock, but it really is the standard clock.</div><div style=""><br></div><div style="">Finally, after unrefing the whole pipeline the refcount is 0, but I still see the syncing messages to the server and in wireshark.</div><div style=""><br></div><div style="">So how can I disable the netclock synchronisation?</div><div style=""><br></div><div style="">Kind regards</div><div style="">JB</div></div>