After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 544204 - (tcpserversink) Got EOS from element "pipeline0".
(tcpserversink) Got EOS from element "pipeline0".
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.14
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-22 16:46 UTC by ysqiao
Modified: 2011-05-19 07:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description ysqiao 2008-07-22 16:46:47 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 ...
Comment 1 Luca Ognibene 2009-04-24 09:25:48 UTC
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
Comment 2 Sebastian Dröge (slomo) 2011-05-19 07:54:18 UTC
As said in comment #1, this has to be done by your program.