Not able to register a new caps
Tim Müller
tim at centricular.com
Sat Aug 6 11:35:34 UTC 2016
On Fri, 2016-07-29 at 14:47 +0530, Vijay Vikram wrote:
Hi,
> Now my issue is while I try to add another caps(suppose audio/x-
> abcd). I have registered this new type as below
>
> TYPE_FIND_REGISTER (plugin, "audio/x-abcd", GST_RANK_PRIMARY,
> abcd_type_find,
> "abcd", ABCD_CAPS, NULL, NULL);
>
> And my handler code looks like (snip)
>
> I have a plugin which has sink pad with caps set as "audio/x-abcd"
> and is ranked primary.
>
> Audio file with this type is not called still. Am I missing some more
> code changes in some other modules?
Make sure your decoder element also includes Audio/Decoder in the
element classification meta string passed
to gst_element_class_set_static_metadata().
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list