[gst-devel] 'caps' property of decodebin2/uridecodebin/playbin2 for 'video/x-raw-va'

Zhao, Halley halley.zhao at intel.com
Fri Jul 9 08:47:20 CEST 2010


Could anyone give some comments?
I think we would rather use playbin2 than uridecodebin for applications, so it’s better that playbin2 expose the ‘caps’ property as well.


________________________________
From: Zhao, Halley [mailto:halley.zhao at intel.com]
Sent: 2010年7月5日 15:50
To: gstreamer-devel at lists.sourceforge.net
Subject: [gst-devel] 'caps' property of decodebin2/uridecodebin/playbin2 for 'video/x-raw-va'

‘caps’ property are defined for decodebin2/uridecodebin as “The caps on which to stop decoding. (NULL= default)”.
But I can’t find it for playbin2, I think we’d better add it as well.

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 finds 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 could fix the issue by adding ‘video/x-raw-va’ to DEFAULT_RAW_CAPS for uridecoderbin,
But I think it should be the better solution to add ‘caps’ property for playbin2 as well.

Do you agree? Thanks.



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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100709/532bf248/attachment.htm>


More information about the gstreamer-devel mailing list