projects
/
experiments
/
gstreamer.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87e464c
)
gst-input-selector-switch.py: use a better pattern for the second source
author
Antonio Ospite <ao2@ao2.it>
Tue, 16 Oct 2018 10:41:03 +0000
(12:41 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Tue, 16 Oct 2018 10:41:03 +0000
(12:41 +0200)
Having a pattern which notably changes in time makes it clearer that
sources keep playing even when they are not active.
python/gst-input-selector-switch.py
patch
|
blob
|
history
diff --git
a/python/gst-input-selector-switch.py
b/python/gst-input-selector-switch.py
index
31b93d0
..
4f622c6
100755
(executable)
--- a/
python/gst-input-selector-switch.py
+++ b/
python/gst-input-selector-switch.py
@@
-14,7
+14,7
@@
GObject.threads_init()
# The following pipeline works
PIPELINE = """
videotestsrc pattern=0 ! selector.
-videotestsrc pattern=1
3
! selector.
+videotestsrc pattern=1
8 background-color=4294901760
! selector.
input-selector name=selector ! autovideosink
"""