[gst-embedded] How to use DSP in gstreamer
Yann Gilquin
yann.gilquin at purplelabs.com
Mon Mar 3 01:22:17 PST 2008
Hi Zhao,
Zhao Liang-E3423C wrote:
> Zhao Liang-E3423C wrote:
>>
>> 2. decoder + sink
>> DSP is a decoder plus sink, it can directly accept encoded data, and
>> then decode it and render pcm data into audio device directly.
>>
>
> creating a sink with right caps should be enough for this one...
>
> Zhao Liang: By my experience, it is not simple like just adding a new
> caps.
> Just a example, how to handle preroll? Generally, dsp
> need to do initialization when start to work, so what is the time to do
> this?
>
you can add your sink into the pipeline but not link its sink pad
immediatly when creating it.
Your sink element could post a message on the pipeline bus to notify
it's ready when it happens, and then you link it to allow preroll.
--
Yann Gilquin
Purple Labs S.A.
www.purplelabs.com
More information about the Gstreamer-embedded
mailing list