[gstreamer-bugs] [Bug 158650] [videocrop] video crop is buggered with odd widths or heights

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Fri Dec 10 10:52:24 PST 2004


http://bugzilla.gnome.org/show_bug.cgi?id=158650
GStreamer | gst-plugins | Ver: HEAD CVS

t.i.m at zen.co.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[videocrop] video crop is   |[videocrop] video crop is
                   |completely buggered         |buggered with odd widths or
                   |                            |heights



------- Additional Comments From t.i.m at zen.co.uk  2004-12-10 13:52 -------
Thanks, I did try videobox, but it was also not really working all too well 
(even though it seems less broken than videocrop). 
 
I don't think videocrop should be deleted. It should be fixed. It's a simple 
element and it has a brilliant name (I would never have guessed that 
'videobox' actually crops stuff). 
 
And it does work for pictures with well-formed dimensions (e.g. width and 
height = multiple of 8), just not very well for pictures with odd dimensions. 
Sorry for not making this clearer. 
 
The GST_VIDEO_I420_FOO macros should probably be fixed to match those that are 
used elsewhere (note the round-up of the strides), and GST_VIDEO_I420_SIZE 
should be used when allocating the new buffer etc. Might whip up a patch over 
the weekend. 
 
Cheers 
 -Tim 
 

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list