[Bug 729583] New: Dynamic additions of sinks to playing pipelines seems failure prone.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon May 5 10:04:33 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=729583
  GStreamer | don't know | 1.2.4

           Summary: Dynamic additions of sinks to playing pipelines seems
                    failure prone.
    Classification: Platform
           Product: GStreamer
           Version: 1.2.4
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: don't know
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: swestrup at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Sorry that I can't give a more concise or accurate bug report here. The problem
is that I can't tell if the issue is just one of implementation because I got
confused, or documentation because of some procedure that I should be following
but which isn't in the manual, or if this is a genuine pipeline negotiation
bug.

I took this to the developer forums first, but its been a week since I first
posted about this, and have yet to get any feedback whatsoever.

Simply put, I have a video pipeline running, with some output to a monitor. Now
I want to be able to dynamically add and remove additional outputs with their
attendant post-processing going to new monitors. The intent is to have a
video-wall that can be dynamically re-arranged as its running.

I have tried a number of ways to do this, but every time I join a new output
pipeline to a tee I (randomly) get one of a number of outcomes:

1) (rarely) it works exactly as expected, and i have a new output.
2) Everything freezes for 10-20 seconds then the new output starts working.
3) The pipeline dies with a not-negotated error.

To illustrate the problem, I wrote a simple program that has a constant video
source, and every few seconds toggles between adding and removing an output
pipeline. In this case I have a new failure mode in which the new pipeline
shows only a single frame of the output, although the pipe appears to be
running.

It also hangs in removing the stuck pipeline which seems odd.

My sample code for sinker.c is here:
http://pastebin.com/uGAmx2wu

It can be compiled by:
gcc $(pkg-config --libs --cflags gstreamer-1.0) -o sinker sinker.c

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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