Handle events according to -v argument

Sebastian Dröge sebastian at centricular.com
Thu May 12 06:18:47 UTC 2016


On Di, 2016-05-10 at 22:49 -0700, sant1mb wrote:
> Hi, I'm trying to learn how to launch my plugins with different
> parameters. I have a simple video player and I would like to play
> only audio (or execute different code) when I write -v in the
> launcher.
> 
> What sentence should I use? an if?

Please read the documentation here:
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/index.html


It sounds like you want to do something with gst-launch, however gst-
launch is only a debugging/testing tool and you should write your
application in a proper programming language.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160512/ef8b81c4/attachment.sig>


More information about the gstreamer-devel mailing list