mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
decklink: Reset skip counters when starting the sources
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/378>
This commit is contained in:
parent
675d8b347b
commit
8a923af42f
2 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue