[gstreamer-bugs] [Bug 162626] [videoscale] gst-launch-0.8: floating point exception with fractions

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Tue Jan 25 04:30:48 PST 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=162626
 GStreamer | gstreamer (core) | Ver: HEAD CVS





------- Additional Comments From Tim-Philipp Müller  2005-01-25 07:30 -------

The problem seems to be rather that the otherpar GstValue in
gstvideoscale.c:268-269 holds a GstValueList of PAR fractions instead of a
single fraction value.


INFO  (0x8050938 - 307404:19:00.742419000)        GST_CAPS(  697)
gstpad.c(1533):gst_pad_try_set_caps:<videoscale0:sink> caps video/x-raw-rgb,
depth=(int)24, bpp=(int)32, endianness=(int)4321, red_mask=(int)65280,
green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)64,
height=(int)48, framerate=(double)1, pixel-aspect-ratio=(fraction)16/15

DEBUG (0x8050938 - 307404:19:00.743314000)        GST_PADS(  697)
gstpad.c(1160):gst_pad_link_intersect: ... srccaps video/x-raw-yuv,
format=(fourcc)YUY2, width=(int)720, height=(int){ 480, 576 },
pixel-aspect-ratio=(fraction){ 16/15, 64/45, 80/89, 320/267 },
framerate=(double)[ 1, 60 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)24,
endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680,
blue_mask=(int)-16777216, width=(int)720, height=(int){ 480, 576 },
pixel-aspect-ratio=(fraction){ 16/15, 64/45, 80/89, 320/267 },
framerate=(double)[ 1, 60 ]; video/x-raw-rgb, bpp=(int)24, depth=(int)24,
endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280,
blue_mask=(int)255, width=(int)720, height=(int){ 480, 576 },
pixel-aspect-ratio=(fraction){ 16/15, 64/45, 80/89, 320/267 },
framerate=(double)[ 1, 60 ]

DEBUG (0x8050938 - 307404:19:00.811059000)        GST_PADS(  697)
gstpad.c(1161):gst_pad_link_intersect: ... sinkcaps video/x-raw-rgb,
depth=(int)24, bpp=(int)32, endianness=(int)4321, red_mask=(int)65280,
green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)64,
height=(int)48, framerate=(double)1, pixel-aspect-ratio=(fraction)16/15

GStreamer-CRITICAL **: file gstvalue.c: line 2566 
(gst_value_get_fraction_numerator): assertion `GST_VALUE_HOLDS_FRACTION (value)'
failed

Not sure what the right approach to fixing this is.

Bug should also be reassigned to gst-plugins, shouldn't it?

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