gst/tcp/gsttcp.c: Return GST_FLOW_UNEXPECTED when we have an eos on the socket so basesrc can do its job correctly.

Original commit message from CVS:
2006-05-16  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* gst/tcp/gsttcp.c: (gst_tcp_socket_read):
Return GST_FLOW_UNEXPECTED when we have an eos on the socket so
basesrc can do its job correctly.
This commit is contained in:
Zaheer Abbas Merali 2006-05-16 16:28:10 +00:00
parent 9d3a69fc58
commit 25bd959adb
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2006-05-16 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* gst/tcp/gsttcp.c: (gst_tcp_socket_read):
Return GST_FLOW_UNEXPECTED when we have an eos on the socket so
basesrc can do its job correctly.
2006-05-16 Tim-Philipp Müller <tim at centricular dot net> 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
* ext/alsa/Makefile.am: * ext/alsa/Makefile.am:

View file

@ -200,7 +200,7 @@ ioctl_error:
got_eos: got_eos:
{ {
GST_DEBUG_OBJECT (this, "Got EOS on socket stream"); GST_DEBUG_OBJECT (this, "Got EOS on socket stream");
return GST_FLOW_WRONG_STATE; return GST_FLOW_UNEXPECTED;
} }
read_error: read_error:
{ {