diff options
-rw-r--r-- | examples/test-netclock-client.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/test-netclock-client.c b/examples/test-netclock-client.c index 2da9b73..e862ca9 100644 --- a/examples/test-netclock-client.c +++ b/examples/test-netclock-client.c @@ -122,6 +122,10 @@ main (int argc, char *argv[]) gst_pipeline_use_clock (GST_PIPELINE (pipe), net_clock); + /* Set this high enough so that it's higher than the minimum latency + * on all receivers */ + gst_pipeline_set_latency (GST_PIPELINE (pipe), 500 * GST_MSECOND); + if (gst_element_set_state (pipe, GST_STATE_PLAYING) == GST_STATE_CHANGE_FAILURE) { g_print ("Failed to set state to PLAYING\n"); |