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 493831 - [tcpserversink] errors out if first buffer has no caps
[tcpserversink] errors out if first buffer has no caps
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.14
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 502620 543977 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-11-05 18:47 UTC by Felipe
Modified: 2008-07-21 16:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Felipe 2007-11-05 18:47:30 UTC
I run this command line and got this error. I have a kernel with support to DCCP. I don't know if it is important.

~$ gst-launch filesrc location=workspace/Write/ola.txt ! tcpserversink
Deixando a conexão como PAUSADA ...
A conexão está fazendo PREROLL ...
A conexão teve feito o PREROLL ...
Deixando a conexão em TOCANDO ...
New clock: GstSystemClock
ERRO: do elemento /pipeline0/tcpserversink0: Internal GStreamer error: negotiation problem.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Informação de depuração adicional:
gstmultifdsink.c(2530): gst_multi_fd_sink_render (): /pipeline0/tcpserversink0:
Received first buffer without caps set
Execution ended after 333000 ns.
Deixando a conexão como PAUSADA ...
Deixando a conexão em PRONTA ...
Deixando a conexão em NULL ...
LIBERANDO a conexão ...
Comment 1 Tim-Philipp Müller 2007-11-14 13:58:02 UTC
This seems to be by design: tcpserversink will error out if the first buffer doesn't have caps set on it (this is so tcpserversink can send stream headers and the like to newly-connected clients).  I'm not sure if this is really necessary though, possibly it could just treat no_caps the same as caps-without-streamheaders, as long as the protocol is not GDP.

In any case, for now you need to do something like this:

  gst-launch-0.10 filesrc location=foo.txt ! typefind ! tcpserversink

(which may not work if the file is too small or not in ASCII or UTF-8 encoding), or:

  gst-launch-0.10 filesrc location=foo.txt ! text/plain ! tcpserversink

or something similar.
Comment 2 Tim-Philipp Müller 2007-12-09 11:38:26 UTC
*** Bug 502620 has been marked as a duplicate of this bug. ***
Comment 3 Sebastian Dröge (slomo) 2008-05-29 08:22:56 UTC
As this can be easily worked around if needed (typefind) and seems to be by design let's close this bug.
Comment 4 Sebastian Dröge (slomo) 2008-07-21 16:18:00 UTC
*** Bug 543977 has been marked as a duplicate of this bug. ***