sebastian at centricular.com
Tue Apr 22 04:05:44 PDT 2014
On Mo, 2014-04-21 at 00:21 -0700, Subodh wrote:
> Extremely sorry for the delayed response.
> My test requirements seem similar to the issue mentioned but are not exactly
> the same.
> Hence, I chose to write my own plugin as an investment of time in
> understanding the plugin frame work better.
> I am referring to the PWG 1.2.3 and it is extremely helpful.
> *But I could not locate the sample code for myfilter in the source tree.
> Could you please point me to the correct location where I can refer to some
> examples of plugins other than standard plugin codes. I am currently stuck
> with the caps setting mechanism, especially the query and event mechanism. *
> I was able to get the memory mapping part correctly, and am able to read and
> process the data as I want, just the caps negotiation is not allowing it to
> go past first frame.
> Thanks in advance.
I don't think there's any single piece of code for that, it's an example
that is used throughout the PWG. E.g. you will notice that the
gst_my_filter_set_caps() function is defined in many different ways in
the document, depending on the chapter.
If you provide some more information about your exact problems with caps
negotiation, maybe someone can help here. But also take a look at
existing elements that do similar things to get an idea how the
negotiation usually works.
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 949 bytes
Desc: This is a digitally signed message part
More information about the gstreamer-devel