[Bug 753922] New: [Patch] "values" (like GST_TYPE_FRACTION) are initialised after "tags"

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Aug 21 04:31:10 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=753922

            Bug ID: 753922
           Summary: [Patch] "values" (like GST_TYPE_FRACTION) are
                    initialised after "tags"
    Classification: Platform
           Product: GStreamer
           Version: 1.4.5
                OS: Mac OS
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: minfrin at sharp.fm
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 309801
  --> https://bugzilla.gnome.org/attachment.cgi?id=309801&action=edit
0001-Ensure-gst_value-is-initialised-before-gst_tag-so-th.patch

When an attempt is made to create a tag that is typed using a
GST_TYPE_FRACTION, this fails because tags are initialised before "values",
including GST_TYPE_FRACTION.

This results in the following assertion failure caused by the
not-yet-initialised type having the value zero:

(lt-gst-plugins-base-libs-scan:1546): GStreamer-CRITICAL **:
gst_tag_register_static: assertion 'type != 0 && type != GST_TYPE_LIST' failed

Patch attached to fix this.

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