summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2018-09-12 22:38:56 +1000
committerMatthew Waters <matthew@centricular.com>2018-09-12 22:38:56 +1000
commit17f0271aa0d68c4c60d094310d4af6f12a8d02de (patch)
treec9808f8938f51fc5ab721e345924fe98cc6052a3
parent946cbbccc15f707857a550065fa7ba0028e4d627 (diff)
decklinkvideosink: fix build
../sys/decklink/gstdecklinkvideosink.cpp:1006:11: error: ‘GstDecklinkVideoSink {aka struct _GstDecklinkVideoSink}’ has no member named ‘scheduled_stop_time’ self->scheduled_stop_time = start_time; ^
-rw-r--r--sys/decklink/gstdecklinkvideosink.cpp3
1 files changed, 0 insertions, 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);