gstreamer/sys/decklink
Matthew Waters a9b40eebc0 decklink: keep the internal time we send to decklink always increasing
Otherwise decklink seems to hold onto the latest frame and may cause a
flash in the output if the played sequence has a framerate less than the
video output.

Scenario is play for N seconds, pause, flushing seek to some other position,
play again.  Each of the play sequences would normally start at 0 with
the decklink time.  As a result, the latest frame from the previous sequence
is kept alive waiting for it's timestamp to pass before either dropping
(if a subsequent frame in the new sequence overrides it) or displayed
causing the out of place frame to be displayed.

This is also supported by the debug logs from the decklink video sink
element where a ScheduledFrameCompleted() callback would not occur for
the frame until the above had happened.

It was timing related as to whether the frame was displayed based
on the decklink refresh cycle (which seems to be 16ms here),
when the frame was scheduled by the sink and the difference between
the 'time since vblank' of the two play requests (and thus start times
of scheduled playback).
2018-07-10 21:22:04 +10:00
..
linux decklink: Update to SDK 10.8 2016-09-26 16:39:18 +03:00
osx decklink: Update to SDK 10.8 2016-09-26 16:39:18 +03:00
win decklink: Fix MinGW warnings due to MSVC-specific pragmas 2018-03-31 11:16:38 +05:30
gstdecklink.cpp decklinkvideosrc: Add support for extracting Closed Caption 2018-04-23 16:16:06 +02:00
gstdecklink.h decklinkvideosrc: Add support for extracting Closed Caption 2018-04-23 16:16:06 +02:00
gstdecklinkaudiosink.cpp decklink: Fix warning about HRESULT not being unsigned int 2018-06-20 11:38:17 +05:30
gstdecklinkaudiosink.h decklinkaudiosink: Implement resampling/buffer reversing for trick-modes 2017-12-14 10:37:20 +02:00
gstdecklinkaudiosrc.cpp decklinkaudiosrc: Extrapolate stream/hw reference timestamps when video frame is missing 2018-01-04 15:51:16 +02:00
gstdecklinkaudiosrc.h decklinkaudiosrc: Extrapolate stream/hw reference timestamps when video frame is missing 2018-01-04 15:51:16 +02:00
gstdecklinkvideosink.cpp decklink: keep the internal time we send to decklink always increasing 2018-07-10 21:22:04 +10:00
gstdecklinkvideosink.h decklink: keep the internal time we send to decklink always increasing 2018-07-10 21:22:04 +10:00
gstdecklinkvideosrc.cpp decklink: Fix crash with closed-captions signal and 10-bit input 2018-05-11 17:39:35 +03:00
gstdecklinkvideosrc.h decklinkvideosrc: Add support for extracting Closed Caption 2018-04-23 16:16:06 +02:00
Makefile.am decklink: Add autotools support on Windows 2017-07-14 17:21:13 +05:30
meson.build Meson: Generate pc file for all plugins in bad 2018-04-25 11:08:09 +01:00