mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 03:52:25 +00:00
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.
This commit is contained in:
parent
5ed137a270
commit
d9b2fbbe0e
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
||||
* gst/playback/gstdecodebin.c: (dynamic_create), (dynamic_free),
|
||||
|
|
|
@ -2190,7 +2190,7 @@ gst_multi_fd_sink_handle_clients (GstMultiFdSink * sink)
|
|||
int res;
|
||||
|
||||
READ_COMMAND (sink, command, res);
|
||||
if (res < 0) {
|
||||
if (res <= 0) {
|
||||
GST_LOG_OBJECT (sink, "no more commands");
|
||||
/* no more commands */
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue