GStreamer multimedia framework
Find a file
Alicia Boya García f0abd316e2 gst-validate-scenario: Make waits optional in appsrc-push
While in many cases it's desirable to wait for a buffer to be pushed
downstream when using appsrc-push, in some cases this is not possible as
such pushing action is dependent on following actions that would not be
executed if we wait.

An example for this is prerolling:

    appsrc ! qtdemux ! video/x-h264 ! decodebin name=dec ! %(videosink)s

    description, seek=false, handles-states=true
    appsrc-push, target-element-name=appsrc0, file-name="raw_h264.0.mp4"
    set-state, state=playing
    appsrc-eos, target-element-name=appsrc0

In order for the preroll to occur, both the appsrc needs to push the
buffer and the state needs to reach PLAYING. But `set-state` cannot
finish if the buffer has not been pushed (the state transition does not
finish) and conversely pushing the buffer will not finish until the
state has reached.

Making appsrc-push not wait for the buffer solves this problem. This
patch makes appsrc-push aware of this issue by only waiting for the
buffer to be pushed if the pipeline is in a state that allows buffers to
flow.
2019-02-24 01:23:58 +01:00
codecanalyzer gst-devtools/codecanalyser: Fix typo NO_CONFIGURE should be NOCONFIGURE 2016-10-09 10:48:22 +01:00
debug-viewer debug-viewer: Python3 port follow-up 2018-10-28 11:03:54 +00:00
hooks pre-commit-python: Allow line breaks between binary operators 2019-01-15 18:57:02 +01:00
mediainfo mediainfo: update build setup 2016-12-30 11:54:35 +01:00
tracer tracer: tsplot: tune the plot style a bit 2017-03-03 21:31:59 +01:00
vagrant vagrant: initial commit 2013-10-26 03:03:55 -07:00
validate gst-validate-scenario: Make waits optional in appsrc-push 2019-02-24 01:23:58 +01:00
.arcconfig Update .arcconfig 2015-10-10 10:47:40 +01:00
.gitignore validate:launcher: Launch tests in _TestsLauncher not in TestsManagaer 2017-12-02 09:42:19 -03:00
.gitlab-ci.yml Add Gitlab CI configuration 2018-11-12 13:14:42 +02:00
.gitmodules Update git locations to gitlab 2018-11-05 05:54:43 +00:00
configure configure: fix typos 2016-01-28 11:22:15 -08:00
meson.build Release 1.15.1 2019-01-17 10:01:50 +00:00
meson_options.txt meson: add option to disable translation 2018-10-27 14:45:51 +01:00