diff options
author | Matthew Waters <matthew@centricular.com> | 2018-09-12 22:38:56 +1000 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2018-09-12 22:38:56 +1000 |
commit | 17f0271aa0d68c4c60d094310d4af6f12a8d02de (patch) | |
tree | c9808f8938f51fc5ab721e345924fe98cc6052a3 | |
parent | 946cbbccc15f707857a550065fa7ba0028e4d627 (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.cpp | 3 |
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); |