[gstreamer-bugs] [Bug 529018] New: gst_ogm_parse_stream_header creates fraction value with wrong denominator argument width (64 bits)
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Sun Apr 20 04:22:24 PDT 2008
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=529018
GStreamer | gst-plugins-base | Ver: HEAD CVS
Summary: gst_ogm_parse_stream_header creates fraction value with
wrong denominator argument width (64 bits)
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: arkadini at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: 2.21/2.22
GNOME milestone: Unspecified
Please describe the problem:
gst_ogm_parse_stream pases ogm->hdr.time_unit (which is gint64) directly to the
gst_set_caps_simple for a GST_TYPE_FRACTION value. The arguments are passed
va-style, but the eventual gst_value_set_fraction() expects and receives 32-bit
integers.
This is wrong, but it's mostly affecting the big endian machines because of the
lack of byte reordering - gst_value_set_fraction() receives the most
significant half of the denominator which will be 0 in most of the cases.
Steps to reproduce:
Actual results:
Expected results:
Does this happen every time?
Other information:
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=529018.
More information about the Gstreamer-bugs
mailing list