Hello,
The gstreamer documentation is good but it really lacks some basic examples which would make using it so much easier for people like me who would like to adopt it. I have an application where I am playing audio file but it seems so difficult to figure out how to pause/resume an existing playing file or stopping it. I think it would be really useful if someone added these examples to the documentation. I would be really grateful if someone has an example or can point me in the right direction as to what to use for doing this. Cheers, Luca ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Am 14.12.2009 01:14, schrieb Luca Pamparana:
> Hello, > > The gstreamer documentation is good but it really lacks some basic > examples which would make using it so much easier for people like me > who would like to adopt it. > > I have an application where I am playing audio file but it seems so > difficult to figure out how to pause/resume an existing playing file > or stopping it. // PAUSE gst_element_set_state(pipeline, GST_STATE_PAUSED); // CONTINUE gst_element_set_state(pipeline, GST_STATE_PLAYING); Stefan > I think it would be really useful if someone added > these examples to the documentation. > > I would be really grateful if someone has an example or can point me > in the right direction as to what to use for doing this. > > Cheers, > Luca > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
> // PAUSE
> gst_element_set_state(pipeline, GST_STATE_PAUSED); > > // CONTINUE > gst_element_set_state(pipeline, GST_STATE_PLAYING); That worked perfectly! Many thanks Stefan. /Luca ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |