mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
fix ambiguos message of error on read return
Original commit message from CVS: fix ambiguos message of error on read return
This commit is contained in:
parent
6310d277da
commit
72d12d7407
1 changed files with 4 additions and 1 deletions
|
@ -294,7 +294,10 @@ gst_tcpsrc_get (GstPad *pad)
|
|||
}
|
||||
|
||||
else {
|
||||
perror ("read");
|
||||
if (numbytes == -1){
|
||||
perror ("read");
|
||||
}
|
||||
else g_print("End of Stream reached\n");
|
||||
gst_buffer_unref (outbuf);
|
||||
outbuf = NULL;
|
||||
close (tcpsrc->client_sock);
|
||||
|
|
Loading…
Reference in a new issue