[gst-devel] what's the reason for 'returned caps which are not a real subset of its template caps'?
Zhao, Halley
halley.zhao at intel.com
Thu Dec 24 03:24:30 CET 2009
Great thanks Wim.
It works.
-----Original Message-----
From: Wim Taymans [mailto:wim.taymans at gmail.com]
Sent: 2009年12月23日 17:55
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] what's the reason for 'returned caps which are not a real subset of its template caps'?
On Wed, 2009-12-23 at 16:57 +0800, Zhao, Halley wrote:
> When I use my customized camera src element, there is one warning
> that:
>
> 'returned caps which are not a real subset of its template caps'
It means that the template caps are more restrictive that the caps
returned by getcaps, which is likely not what you want.
>
> Could anyone kindly tell me where is root reason?
The template caps contain a framerate field while the ones from the
getcaps function don't.
>
> How to fix it?
Add a framerate field to the caps returned from getcaps.
Wim
>
> Thanks.
>
>
>
>
>
> I guess there are two possible reasons:
>
> 1. I added ‘video/x-raw-va’ for my camera src caps, which is not
> included in base src.
>
> 2. Pad template (shows by gst-inspect?) doesn’t match with _get_caps
> during run-time. See attachment.
>
>
>
>
>
>
>
> ZHAO, Halley (Aihua)
>
> Email: halley.zhao at intel.com
>
> Tel: +86(21)61166476
>
> iNet: 8821-6476
>
> SSG/OTC/Moblin 3W038 Pole: F4
>
>
>
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list