From 25bd959adb66df75a41af55f380807d50b34a30e Mon Sep 17 00:00:00 2001 From: Zaheer Abbas Merali Date: Tue, 16 May 2006 16:28:10 +0000 Subject: [PATCH] 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 * 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. --- ChangeLog | 6 ++++++ gst/tcp/gsttcp.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 42b3013a05..f784aba700 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-05-16 Zaheer Abbas Merali + + * 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 * ext/alsa/Makefile.am: diff --git a/gst/tcp/gsttcp.c b/gst/tcp/gsttcp.c index a1121480f5..76c86c316e 100644 --- a/gst/tcp/gsttcp.c +++ b/gst/tcp/gsttcp.c @@ -200,7 +200,7 @@ ioctl_error: got_eos: { GST_DEBUG_OBJECT (this, "Got EOS on socket stream"); - return GST_FLOW_WRONG_STATE; + return GST_FLOW_UNEXPECTED; } read_error: {