After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 390076 - add xv adaptor and port properties in xvimagesink element.
add xv adaptor and port properties in xvimagesink element.
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal enhancement
: 0.10.12
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-12-27 17:47 UTC by Young-Ho Cha
Modified: 2007-02-07 10:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add xv adaptor number property in xvimagesink element (4.66 KB, patch)
2006-12-28 16:43 UTC, Young-Ho Cha
committed Details | Review

Description Young-Ho Cha 2006-12-27 17:47:53 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.
Comment 1 David Schleef 2006-12-27 23:47:09 UTC
It would be wiser to just choose the correct XVideo adapter.
Comment 2 Young-Ho Cha 2006-12-28 16:43:40 UTC
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.
Comment 3 Julien MOUTTE 2007-01-07 21:56:13 UTC
Applied your patch to CVS HEAD with some minor fix.

Thanks for contributing.
Comment 4 Ronald Bultje 2007-01-30 13:07:49 UTC
Julien, can this be autodetected (siilar to device in v4lsrc) such that gstreamer-properties can show device names etc. for each xvimagesink adapter?
Comment 5 Julien MOUTTE 2007-01-30 13:30:11 UTC
What interface is used to get the list of devices in gstreamer-properties ?
Comment 6 Ronald Bultje 2007-01-30 13:34:23 UTC
propertyprobe
Comment 7 Julien MOUTTE 2007-02-06 17:46:29 UTC
Done in CVS HEAD.
Comment 8 Ronald Bultje 2007-02-06 18:30:30 UTC
Thanks Julien! I'll add some custom code (hopefully for 2.18) to use this in gst-props.
Comment 9 Julien MOUTTE 2007-02-07 10:03:44 UTC
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.