diff --git a/sys/decklink/gstdecklinkaudiosrc.cpp b/sys/decklink/gstdecklinkaudiosrc.cpp index 36573c9a9d..d35151d3e6 100644 --- a/sys/decklink/gstdecklinkaudiosrc.cpp +++ b/sys/decklink/gstdecklinkaudiosrc.cpp @@ -470,6 +470,10 @@ gst_decklink_audio_src_start (GstDecklinkAudioSrc * self) } gst_caps_unref (caps); + self->skipped_last = 0; + self->skip_from_timestamp = GST_CLOCK_TIME_NONE; + self->skip_to_timestamp = GST_CLOCK_TIME_NONE; + return TRUE; } diff --git a/sys/decklink/gstdecklinkvideosrc.cpp b/sys/decklink/gstdecklinkvideosrc.cpp index 1cf8c4b4f3..d9b56f5df3 100644 --- a/sys/decklink/gstdecklinkvideosrc.cpp +++ b/sys/decklink/gstdecklinkvideosrc.cpp @@ -661,6 +661,10 @@ gst_decklink_video_src_start (GstDecklinkVideoSrc * self) self->input->start_streams (self->input->videosrc); g_mutex_unlock (&self->input->lock); + self->skipped_last = 0; + self->skip_from_timestamp = GST_CLOCK_TIME_NONE; + self->skip_to_timestamp = GST_CLOCK_TIME_NONE; + return TRUE; }