[Bug 737401] videobox: Use videoconvert APIs for format conversions

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Nov 26 02:32:26 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=737401
  GStreamer | gst-plugins-good | git

--- Comment #4 from RaviKiran <ravi.kiran at samsung.com> 2014-11-26 10:32:20 UTC ---
Wim, using video-converter still crops the right side only (instead of left).
For example, I ran the pipeline 
gst-launch-1.0 videotestsrc ! "video/x-raw,format={RGB},height=480,width=640" !
videobox left=50 right=-50 ! videoconvert ! ximagesink
This should have cropped left region. But, it cropped the right side.

Part of the problem is because "unpack_RGB()" in video-format.c doesn't
consider 'x' offset (actually, none of unpack functions do).
And, pack functions do not have 'x' offset parameter. 
https://bugzilla.gnome.org/show_bug.cgi?id=740228 is reported for this.

Once pack functions support 'x' parameter, I think we need to add 'x' to
PACK_FRAME macro in video-converter.c

-- 
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