mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-02 22:46:35 +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 {
|
else {
|
||||||
|
if (numbytes == -1){
|
||||||
perror ("read");
|
perror ("read");
|
||||||
|
}
|
||||||
|
else g_print("End of Stream reached\n");
|
||||||
gst_buffer_unref (outbuf);
|
gst_buffer_unref (outbuf);
|
||||||
outbuf = NULL;
|
outbuf = NULL;
|
||||||
close (tcpsrc->client_sock);
|
close (tcpsrc->client_sock);
|
||||||
|
|
Loading…
Reference in a new issue