gstreamer/sys
Matthew Waters bf849e9a69 decklink: start scheduled playback in paused
This is part of a much larger goal to always keep the frames we schedule to
decklink be always increasing.  This also allows us to avoid using both the
sync and async frame display functions which aren't recomended to be used
together.

If the output timestatmsp is not always increasing 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).

https://bugzilla.gnome.org/show_bug.cgi?id=797130
2018-09-12 21:16:27 +10:00
..
acmenc Fix up package name and origin in some plugins 2017-05-18 10:58:20 +01:00
acmmp3dec Remove plugin specific static build option 2017-05-16 14:05:52 -04:00
androidmedia androidmedia/meson: we also depend on gmodule and orc 2018-08-31 18:08:55 +10:00
applemedia meson: Fix applemedia dependencies on iOS 2018-09-01 21:48:54 +05:30
bluez meson: Generate bluez.h instead of bluez-interface.h 2018-07-27 22:17:56 -04:00
d3dvideosink Add feature options for almost all plugins 2018-07-27 19:04:38 +05:30
decklink decklink: start scheduled playback in paused 2018-09-12 21:16:27 +10:00
directsound Add feature options for almost all plugins 2018-07-27 19:04:38 +05:30
dshowdecwrapper Remove plugin specific static build option 2017-05-16 14:05:52 -04:00
dshowsrcwrapper dshowsrcwrapper: fix DirectShow caps negotiation and set capture pin caps 2016-04-23 15:21:44 +01:00
dshowvideosink bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
dvb Add feature options for almost all plugins 2018-07-27 19:04:38 +05:30
fbdev Add feature options for almost all plugins 2018-07-27 19:04:38 +05:30
ipcpipeline Add feature options for almost all plugins 2018-07-27 19:04:38 +05:30
kms kmssink: Add "restore-crtc" property 2018-08-29 14:17:51 -04:00
msdk Add feature options for almost all plugins 2018-07-27 19:04:38 +05:30
nvdec nvdec: Add support VP8/VP9 decoding 2018-05-05 18:13:00 +10:00
nvenc nvenc: Fix build warning error 2018-05-18 10:43:39 +01:00
opensles meson: Add build files for androidmedia and opensles 2018-08-29 14:58:19 +05:30
shm meson: host_system is 'ios' when building for iOS 2018-08-17 04:07:24 +05:30
tinyalsa Remove plugin specific static build option 2017-05-16 14:05:52 -04:00
uvch264 Add feature options for almost all plugins 2018-07-27 19:04:38 +05:30
vcd Remove plugin specific static build option 2017-05-16 14:05:52 -04:00
vdpau vdpau: Run gst-indent 2018-06-06 07:50:21 +02:00
wasapi wasapi: Remove code that sets thread priority 2018-09-11 01:00:21 +05:30
winks ksvideosrc: fix device enumeration when hotplugging a camera 2018-08-19 16:58:22 -04:00
winscreencap Add feature options for almost all plugins 2018-07-27 19:04:38 +05:30
Makefile.am ipcpipeline: move to sys/ and make it dependent on platform support for unix sockets 2017-08-02 10:40:24 +03:00
meson.build meson: Add build files for androidmedia and opensles 2018-08-29 14:58:19 +05:30