Finishing a Pipeline

Andy_Milestone andy87.milestone at googlemail.com
Tue Aug 2 04:54:55 PDT 2011


Well, my application is console-based. Which ui toolkit can I use to 
implement keypress-handlers or user-input-handlers on the linux-console?
Can you please give me an advice, a link or framework/toolkit to look for.

Sorry for this newbie question.

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