[Gstreamer-openmax] AV Sync with Gst-OpenMax pluggin

Stefan Kost ensonic at hora-obscura.de
Wed Feb 17 04:55:15 PST 2010


Hi,

Felipe Contreras wrote:
> On Wed, Feb 17, 2010 at 1:33 PM, Nitin PAI <nitinmpai at gmail.com> wrote:
>   
>> Thanks a lot for your reply.
>> I am looking into the alternatives to implement this.  Just wanted to make
>> sure I am not re-inventing the wheel.
>> If anyone has better ideas or has implemented this let me know.
>>
>> Can you tell me why the audio sink implementation uses GstBaseSink instead
>> of GstAudioBaseSink which might have provided clock features to implement
>> and set the master clock?
>>     
>
> Because we need omx functionality. I guess it would be possible to
> forget about omx base classes and re-implement all the omx stuff
> inside audio and video base sinks, but I don't think we'll get any
> advantage from that. But then again, I haven't really spent that much
> time in sources and sinks; only encoders and decoders.
>
>   
I have been thinking about this also. As we don't have multiple
inheritance, we need to implemnt this using a delegate pattern. E.g.
OmxAudioSink would *be *a  GstBaseAudioSink and *have* a OmxHelper. Not
sure if that would work in your case.

Stefan




More information about the Gstreamer-openmax mailing list