[gstreamer-bugs] [Bug 353658] New: videotestsrc + videoscale use different strides for YVYU
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Thu Aug 31 01:47:32 PDT 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=353658
GStreamer | gst-plugins-base | Ver: HEAD CVS
Summary: videotestsrc + videoscale use different strides for YVYU
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: t.i.m at zen.co.uk
QAContact: gstreamer-bugs at lists.sourceforge.net
CC: ds at schleef.org
GNOME version: Unspecified
GNOME milestone: Unspecified
The following pipeline errors out with
** (gst-launch-0.10:15221): WARNING **: Size 152482 is not a multiple of unit
size 152960
ERROR: from element /pipeline0/videoscale0: subclass did not specify output
size
gst-launch-0.10 videotestsrc !
video/x-raw-yuv,format=\(fourcc\)YVYU,width=319,height=239 ! videoscale !
video/x-raw-yuv,width=640,height=480 ! videoscale !
video/x-raw-yuv,width=319,height=239 ! fakesink
This is because videotestsrc and videoscale don't calculate the stride for YVYU
in the same way:
videotestsrc : stride = GST_ROUND_UP_2 (width * 2);
videoscale : stride = GST_ROUND_UP_4 (width * 2);
Which one is the right one?
--
Configure bugmail: http://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