GNOME Bugzilla – Bug 544204
(tcpserversink) Got EOS from element "pipeline0".
Last modified: 2011-05-19 07:54:18 UTC
I was trying to use tcpserversink to transfer a file to tcpclientsrc. However, the tcpserversink finished quickly. I could not get time to start tcpclientsrc. How to pause tcpserversink to wait for connection from tcpclientsrc? The command and output are as follows: gst-launch-0.10 -v filesrc location=/etc/resolv.conf ! text/plain ! tcpserversink port=3000 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... /pipeline0/capsfilter0.sink: caps = text/plain /pipeline0/capsfilter0.src: caps = text/plain /pipeline0/tcpserversink0.sink: caps = text/plain Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "pipeline0". Execution ended after 618000 ns. Setting pipeline to PAUSED ... Setting pipeline to READY ... /pipeline0/tcpserversink0.sink: caps = NULL /pipeline0/capsfilter0.src: caps = NULL /pipeline0/capsfilter0.sink: caps = NULL Setting pipeline to NULL ... FREEING pipeline ...
You need to do it from your program, for example: * create a filesrc ! tcpserversink pipeline * block tcpserversink.sink pad * connect to tcpserversink client-added signal * start pipeline * in the client-added callback unblock tcpserversink.sink pad
As said in comment #1, this has to be done by your program.