Skip to content
Snippets Groups Projects
Commit 028a4666 authored by Sebastian Dröge's avatar Sebastian Dröge :tea:
Browse files

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
parent 2a3dd3d3
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment