[gstreamer-bugs] [Bug 639506] XV QueryImageAttributes parameters are not taken into account

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jan 14 05:42:14 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=639506
  GStreamer | gst-plugins-base | 0.10.x

--- Comment #6 from Kaz <kaz.balos+gnomebugzilla at gmail.com> 2011-01-14 13:42:09 UTC ---
Yes, the problem is the same with gst-launch. After investigation of the
example frame of 636x470 forced to be placed in buffer 640x480, I see:

Y: image: 636*470 (298920), buffer 636*470 (should be 640*480)
U: image: offset 298920 - 318*235, buffer 320*235 (should be 320*240)
V: image: offset 374120 - 318*235, buffer 320*235 (should be 320*240)

(easy to see if you select "Indexed" in Gimp instead of "RGB").

I'll look into the code why it is so happening, however gstreamer makes many
calls (first for 1x1 with driver answer 16x16, and later 636x470 with answer
640x480):

XVQueryImageAttributes enter (id=808596553 [1x1])
XVQueryImageAttributes enter (id=808596553 [636x470])
XVQueryImageAttributes enter (id=808596553 [636x470])
XVQueryImageAttributes enter (id=808596553 [636x470])
XVQueryImageAttributes enter (id=808596553 [640x480])
XVQueryImageAttributes enter (id=808596553 [640x480])
XVPutImage ([636x470]/[640x480](0,0)=>[636x470](303,551)) // img/buf

XVQueryImageAttributes enter (id=808596553 [636x470])
XVQueryImageAttributes enter (id=808596553 [640x480])
XVPutImage ([636x470]/[640x480](0,0)=>[636x470](303,551))

XVQueryImageAttributes enter (id=808596553 [636x470])
XVQueryImageAttributes enter (id=808596553 [636x470])
XVQueryImageAttributes enter (id=808596553 [636x470])
XVQueryImageAttributes enter (id=808596553 [636x470])
XVQueryImageAttributes enter (id=808596553 [640x480])
XVPutImage ([636x470]/[640x480](0,0)=>[636x470](303,551))

XVQueryImageAttributes enter (id=808596553 [640x480])
XVPutImage ([636x470]/[640x480](0,0)=>[636x470](303,551))

... no more changes later - i.e. 1 QueryImageAttributes and 1 PutImage

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list