Commit d9b2fbbe authored by Wim Taymans's avatar Wim Taymans
Browse files

gst/tcp/gstmultifdsink.c: Stop reading commands when EOF (we read 0) as well.

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_handle_clients):
Stop reading commands when EOF (we read 0) as well.
parent 5ed137a2
2006-09-29 Wim Taymans <wim@fluendo.com>
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_handle_clients):
Stop reading commands when EOF (we read 0) as well.
2006-09-28 Wim Taymans <wim@fluendo.com> 2006-09-28 Wim Taymans <wim@fluendo.com>
   
* gst/playback/gstdecodebin.c: (dynamic_create), (dynamic_free), * gst/playback/gstdecodebin.c: (dynamic_create), (dynamic_free),
...@@ -2190,7 +2190,7 @@ gst_multi_fd_sink_handle_clients (GstMultiFdSink * sink) ...@@ -2190,7 +2190,7 @@ gst_multi_fd_sink_handle_clients (GstMultiFdSink * sink)
int res; int res;
READ_COMMAND (sink, command, res); READ_COMMAND (sink, command, res);
if (res < 0) { if (res <= 0) {
GST_LOG_OBJECT (sink, "no more commands"); GST_LOG_OBJECT (sink, "no more commands");
/* no more commands */ /* no more commands */
break; break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment