Handle events according to -v argument

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Handle events according to -v argument

sant1mb
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?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Handle events according to -v argument

Sebastian Dröge-3
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


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment