From 17f0271aa0d68c4c60d094310d4af6f12a8d02de Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 12 Sep 2018 22:38:56 +1000 Subject: decklinkvideosink: fix build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ../sys/decklink/gstdecklinkvideosink.cpp:1006:11: error: ‘GstDecklinkVideoSink {aka struct _GstDecklinkVideoSink}’ has no member named ‘scheduled_stop_time’ self->scheduled_stop_time = start_time; ^ --- sys/decklink/gstdecklinkvideosink.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/decklink/gstdecklinkvideosink.cpp b/sys/decklink/gstdecklinkvideosink.cpp index 8a9f4bcf0..d96179560 100644 --- a/sys/decklink/gstdecklinkvideosink.cpp +++ b/sys/decklink/gstdecklinkvideosink.cpp @@ -958,7 +958,6 @@ gst_decklink_video_sink_start_scheduled_playback (GstElement * element) self->output->started = TRUE; self->output->clock_restart = TRUE; - self->output->clock_offset = self->scheduled_stop_time; // Need to unlock to get the clock time g_mutex_unlock (&self->output->lock); @@ -1002,8 +1001,6 @@ gst_decklink_video_sink_stop_scheduled_playback (GstDecklinkVideoSink * self) // Wait until scheduled playback actually stopped _wait_for_stop_notify (self); } - if (start_time > 0) - self->scheduled_stop_time = start_time; self->internal_base_time = GST_CLOCK_TIME_NONE; self->external_base_time = GST_CLOCK_TIME_NONE; g_mutex_unlock (&self->output->lock); -- cgit v1.2.3