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

Felipe Contreras felipe.contreras at gmail.com
Wed Feb 17 05:42:49 PST 2010


Hey Stefan,

On Wed, Feb 17, 2010 at 2:55 PM, Stefan Kost <ensonic at hora-obscura.de> wrote:
> Felipe Contreras wrote:
>> 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.

Yes, that seems to be the appropriate way to do it. There's already
helper stuff in gstomx_util, but it doesn't have much GStreamer stuff;
state changes, properties, events, interface stuff, etc. that
currently the omx base classes are dealing with.

-- 
Felipe Contreras




More information about the Gstreamer-openmax mailing list