[Bug 791811] New: festival: Forwarding duration query confuses wavparse

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Dec 20 04:18:30 UTC 2017


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

            Bug ID: 791811
           Summary: festival: Forwarding duration query confuses wavparse
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: nicolas at ndufresne.ca
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

The festival element let GstElement forward all queries. Whenver wavparse
query the duration , it get the duration of the text file, not a wavfile
which triggers an assertion and an integrer overflow:

ERROR:gstwavparse.c:1310:gst_wavparse_stream_headers: assertion failed:
(upstream_size >= wav->offset)

The attached patch should work, but is only compule tested since Festival is
broken on Fedora.

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