set_context() vfunc for GstVideoDecoder

Robert Krakora rob.krakora at messagenetsystems.com
Mon Nov 25 09:55:03 PST 2013


Hi Jim,

GstElementClass has a vfunc for set_context().

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html

Best Regards,

Rob



On Mon, Nov 25, 2013 at 11:58 AM, Jim Hodapp <jim.hodapp at canonical.com>wrote:

> I'm trying to use a CONTEXT query between a custom video sink and decoder
> pair of plugins. In my case, the decoder originates the CONTEXT query and
> the video sink should be the one to answer it stuffing the appropriate
> context data into the GstContext and then replying to the query. My
> question is, once the decoder receives the reply, it calls
> gst_query_parse_context, and then gst_element_set_context. My question is
> with setting the context - if a GstVideoDecoder doesn't have a vfunc for
> set_context(), how is this supposed to work? How do I get access to the
> contents of the GstQuery without this vfunc? I could figure some weird way
> of getting access to it, but I want to follow the intent of the original
> design. Any thoughts?
>
> Thanks,
>
> Jim
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 

Rob Krakora,
Senior Software Engineer

MessageNet Systems
101 E Carmel Dr, Suite 105
Carmel, IN 46032

MessageNetSystems.com<http://www.messagenetcommunicationsystems.com/?utm_source=email+signature&utm_medium=email&utm_campaign=email+signature+to+homepage>
Rob.Krakora at MessageNetSystems.com <rob.krakora at messagenetsystems.com>
P: 317.566.1677, 212
F: 317.663.0808

For the latest news, information, and blogs, please be sure to visit,
follow, and like us...

<http://www.messagenetcommunicationsystems.com/get-the-message-out-blog/?utm_source=email+signature&utm_medium=email&utm_campaign=gmail+signature+to+blog>
   <http://www.youtube.com/user/MessageNetConnection/feed>
<http://www.linkedin.com/company/messagenet-systems>
   <http://twitter.com/MessageNet>  <http://www.facebook.com/MessageNetsystems>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131125/201e74d0/attachment.html>


More information about the gstreamer-devel mailing list