GNOME Bugzilla – Bug 390076
add xv adaptor and port properties in xvimagesink element.
Last modified: 2007-02-07 10:03:44 UTC
Some X drivers support multiple xv adaptors and ports. This is xvinfo from my notebook (using i915 video adaptor) $ xvinfo X-Video Extension version 2.2 screen #0 Adaptor #0: "Intel(R) Video Overlay" number of ports: 1 port base: 73 operations supported: PutImage maximum XvImage size: 1920 x 1080 Adaptor #1: "Intel(R) Textured Video" number of ports: 16 port base: 74 operations supported: PutImage maximum XvImage size: 2048 x 2048 I want to use adaptor #1, cause it supports more large overlay video, but xvimagesink element always tries to use first port of first adaptor. Would you add these properties? Thanks.
It would be wiser to just choose the correct XVideo adapter.
Created attachment 78992 [details] [review] add xv adaptor number property in xvimagesink element This is a patch for add xv adaptor number property in xvimagesink element. If can't find available xv adaptor from property, it will be trying from all adaptors.
Applied your patch to CVS HEAD with some minor fix. Thanks for contributing.
Julien, can this be autodetected (siilar to device in v4lsrc) such that gstreamer-properties can show device names etc. for each xvimagesink adapter?
What interface is used to get the list of devices in gstreamer-properties ?
propertyprobe
Done in CVS HEAD.
Thanks Julien! I'll add some custom code (hopefully for 2.18) to use this in gst-props.
Well i have tried latest svn trunk of gstreamer-properties and it works as expected. It shows me the list of adaptors and i can choose them and test.