[gst-devel] Problem with linking more sinks

Miron Kunz mironoz at mail.ru
Sat Jan 2 20:17:54 CET 2010


Hi,

I am trying to link a next sink like this:

1) start pipeline : src!tee ! queue!sink1
2) pipeline is in PLAYING
3) block Src's src pad and from call back add new sink2:
  src ! tee ! queue !sink1
            ! queue !sink2
4) set sink2 to PLAYING
5) unblock Src's src pad
6) Src's task is PAUSED with this message:
 basesrc gstbasesrc.c:2326:gst_base_src_loop:<camera> pausing after gst_pad_push() = wrong-state

The problem is that source's task is paused and there is no flow through the pipeline.

What is the correct way to deal with it?


Thanks,
Miron





More information about the gstreamer-devel mailing list