[Bug 774908] New: multifdsink removing slow client corrupts matroska stream

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Nov 23 12:31:02 UTC 2016


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

            Bug ID: 774908
           Summary: multifdsink removing slow client corrupts matroska
                    stream
    Classification: Platform
           Product: GStreamer
           Version: 1.10.1
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: jan.steffens at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 340593
  --> https://bugzilla.gnome.org/attachment.cgi?id=340593&action=edit
test script

The attached test script creates a producer pipeline feeding a matroska video
stream into a multifdsink and 5 consumer pipelines that demux the matroska
stream.

The 3rd consumer is then paused, and when the multifdsink ejects the client
because it doesn't read fast enough, the stream sent to the 4th and 5th
consumers is corrupted. The matroskademux elements complain:

ebml-read.c:141:gst_ebml_peek_id_length:<matroskademux4> Invalid EBML ID size
tag (0x0) at position 542310 (0x84666)
ebml-read.c:141:gst_ebml_peek_id_length:<matroskademux3> Invalid EBML ID size
tag (0x0) at position 542310 (0x84666)

If the script is adjusted to pause the 2nd consumer, then the 3th, 4th and 5th
consumers receive a corrupted stream.

If the script is adjusted to pause the 1st consumer, everything is fine.

GStreamer 1.10.1
Arch Linux x86_64

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