[Gstreamer-openmax] [PATCH] replace deprecated API
Felipe Contreras
felipe.contreras at gmail.com
Fri Apr 23 03:13:39 PDT 2010
On Mon, Apr 19, 2010 at 10:28 AM, Stefan Kost <ensonic at hora-obscura.de> wrote:
> Felipe Contreras wrote:
>> At some point that won't work? Why?
>
> It is causing a extra reloc and pointer copying.
Yeah, but only when the plugin is registered... so it's only a few
extra cycles once in a while, isn't it?
> What I would like to
> see instead is to use GstStructure for plugin and element details. Then
> we would have:
>
> gst_element_class_set_info(element_class,...)
>
> this could be either a varargs function that takes the args and/or one that takes the structure. Right now using a non extensible intermediate structure is not so useful.
Indeed, it's not, but I fail to see how removing
gst_element_class_set_details() improves the situation at all.
--
Felipe Contreras
More information about the Gstreamer-openmax
mailing list