summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-06-11 20:41:31 +0200
committerSebastian Dröge <sebastian@centricular.com>2015-06-11 20:41:31 +0200
commit028a4666fae626c2cfb7049463496f3ebf94f9f8 (patch)
treed5fee6a2da07e13fc491ac1ce1e52a79f9d917f7
parent2a3dd3d38fe51d4688dd0ac48e20d8d7e60b2630 (diff)
test-netclock: Setting the same base time on sender and receiver is not necessary
It's going to be fixed up by rtpbin when using ntp-sync=TRUE
-rw-r--r--examples/test-netclock-client.c2
-rw-r--r--examples/test-netclock.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/examples/test-netclock-client.c b/examples/test-netclock-client.c
index c6ea9b6..57c9c6a 100644
--- a/examples/test-netclock-client.c
+++ b/examples/test-netclock-client.c
@@ -120,8 +120,6 @@ main (int argc, char *argv[])
g_object_set (pipe, "uri", argv[1], NULL);
g_signal_connect (pipe, "source-setup", G_CALLBACK (source_created), NULL);
- gst_element_set_start_time (pipe, GST_CLOCK_TIME_NONE);
- gst_element_set_base_time (pipe, 0);
gst_pipeline_use_clock (GST_PIPELINE (pipe), net_clock);
if (gst_element_set_state (pipe,
diff --git a/examples/test-netclock.c b/examples/test-netclock.c
index 2e53635..2b5856a 100644
--- a/examples/test-netclock.c
+++ b/examples/test-netclock.c
@@ -96,8 +96,6 @@ create_pipeline (GstRTSPMediaFactory * factory, GstRTSPMedia * media)
pipeline = gst_pipeline_new ("media-pipeline");
gst_pipeline_use_clock (GST_PIPELINE (pipeline), global_clock);
- gst_element_set_base_time (pipeline, 0);
- gst_element_set_start_time (pipeline, GST_CLOCK_TIME_NONE);
gst_rtsp_media_take_pipeline (media, GST_PIPELINE_CAST (pipeline));
return pipeline;