[gst-devel] Call for patch review: Add 'caps' property for playbin

Stefan Kost ensonic at hora-obscura.de
Wed Jul 14 14:20:33 CEST 2010

Hi Zhao,

On 13.07.2010 05:13, Zhao, Halley wrote:
> ‘caps’ property are defined for decodebin2/uridecodebin as “The caps
> on which to stop decoding. (NULL= default)”.
> But there is no ‘caps’ property for playbin2 yet, we’d better add it
> as well to give app the flexibility of controlling decodebin2 for
> newly introduced raw video caps; ‘video/x-raw-va’ for example.
I don't think we want to burden application developers with setting that. We should probably add this to the raw caps.
I'd suggest to file a bug about it and attach the current patch there. I think the current GSoC project on vdpau will
face the same issue. In the case of ‘video/x-raw-va’, chances of adding it are higher if there are public plugins
that use it somewhere.


> I met issues for creating a customized sink for libva:
> ‘video/x-raw-va’; my sink renders video frame as texture in Qt.
> When I set playbin2 ‘video-sink’ to my customized sink, decodebin2
> doesn’t stop auto-plug (expose_pad) when it comes to ‘video/x-raw-va’
> because decodebin2 doesn’t think ‘video/x-raw-va’ is a raw type.
> (by the way, the auto-plug stops when playbin2 realize it comes to a
> sink; however this sink is not my customized sink. because my sink
> requires many app context (OpenGL etc), it is similar to clutter-gst sink)
> I think it is better to add ‘caps’ property for playbin2 as well, then
> app could control decodebin2 with flexibility for newly introduced raw
> caps.
> *ZHAO, Halley (Aihua)*
> Email: halley.zhao at intel.com <blocked::mailto:aihua.zhao at intel.com>
> Tel: +86(21)61166476 iNet: 8821-6476
> SSG/OTC/Moblin 3W038 Pole: F4
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> 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