Finishing a Pipeline

Andy_Milestone andy87.milestone at googlemail.com
Wed Jul 27 22:36:50 PDT 2011


Thank you Stefan.

Andreas

Am 27.07.2011 15:55, schrieb Stefan Kost:
> On 07/26/11 16:33, Andy_Milestone wrote:
>>
>> Hello,
>>
>> I am writing a streaming-client for audio and video based on
>> gstreamer. Well after some trouble its working...
>>
>> The only thing, which I do not unsterstand is how I can finish the
>> state of the pipeline from PLAYING to PAUSE / NULL. Ok, I realised
>> that its possible to send a EOS-message via a time-out on the
>> pipeline-bus and than quit the G_MAIN_LOOP, but I want to stop the
>> streaming with a key stroke or something else.
>
> well, add a keypress handler in your ui toolkit. from there send the
> eos-event and wait for eos message on the bus. then stop the pipeline.
> there is no need to stop the mainloop though.
>
> stefan
>>
>> Has somebody a hint for me?
>>
>> Regards, Andreas
>>
>>
>>
>> ------------------------------------------------------------
>> Andreas
>> [gesendet vom Handy]
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-- 
------------------------------------------------------------
Andreas Büttner
[gesendet vom Handy]


More information about the gstreamer-devel mailing list