gst-input-selector-switch.py: use a better pattern for the second source
authorAntonio Ospite <ao2@ao2.it>
Tue, 16 Oct 2018 10:41:03 +0000 (12:41 +0200)
committerAntonio 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

index 31b93d0..4f622c6 100755 (executable)
@@ -14,7 +14,7 @@ GObject.threads_init()
 # The following pipeline works
 PIPELINE = """
 videotestsrc pattern=0 ! selector.
-videotestsrc pattern=13 ! selector.
+videotestsrc pattern=18 background-color=4294901760 ! selector.
 input-selector name=selector ! autovideosink
 """