[Bug 758276] New: queue2: custom http-headers event sent by souphttpsrc causes g_warning in ring-buffer mode

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Nov 18 03:20:57 PST 2015


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

            Bug ID: 758276
           Summary: queue2: custom http-headers event sent by souphttpsrc
                    causes g_warning in ring-buffer mode
    Classification: Platform
           Product: GStreamer
           Version: 1.6.1
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: awabik at opera.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

In gst_soup_http_src_got_headers_cb(), the headers event is created, and upon
next create(), it's being pushed before buffer. The queue2 in ring-buffer mode
prints g_warning then, causing crash if debugging (G_DEBUG=fatal-warnings).
This should be changed to GST_WARNING or even lower.

Reproduction steps:

$ gst-launch-1.0 souphttpsrc location=http://kernel.org ! queue2
ring-buffer-max-size=1024000 ! fakesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

** (gst-launch-1.0:5590): WARNING **: Unexpected event of kind
custom-downstream-sticky can't be added in temp file of queue queue2-0 
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:00.106387959
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

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