[Bug 791157] New: GStreamer Basic Tutorial 8 compile error

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Dec 3 10:07:57 UTC 2017


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

            Bug ID: 791157
           Summary: GStreamer Basic Tutorial 8 compile error
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: documentation
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: rodrigo at fabricadeideias.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

The example code in GStreamer Basic Tutorial available at
https://gstreamer.freedesktop.org/documentation/tutorials/basic/short-cutting-the-pipeline.html
is returning the following compile error:


basic-tutorial-8.c: In function ‘main’:
basic-tutorial-8.c:172:11: error: ‘audio_caps_text’ undeclared (first use in
this function); did you mean ‘audio_caps’?
   g_free (audio_caps_text);
           ^~~~~~~~~~~~~~~
           audio_caps

The solution seems to be simple to delete the affected line as there is no
audio_caps_text to be freed at all.

After removing this line the codes runs without problems.

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