summaryrefslogtreecommitdiff
path: root/src/input/input_http.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-11-15 15:04:35 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-11-15 15:04:35 +0000
commiteaf1cba5d25fb5abe1066f3c39163b2bfe2f0b26 (patch)
tree77fd6d164e74f16ffc55115bd24537a7e975a7b5 /src/input/input_http.c
parent1ace1c3f18fb48bab32a2ee5b69ae6e3bce12850 (diff)
downloadxine-lib-eaf1cba5d25fb5abe1066f3c39163b2bfe2f0b26.tar.gz
xine-lib-eaf1cba5d25fb5abe1066f3c39163b2bfe2f0b26.tar.bz2
demux_action_pending private
CVS patchset: 5734 CVS date: 2003/11/15 15:04:35
Diffstat (limited to 'src/input/input_http.c')
-rw-r--r--src/input/input_http.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/input_http.c b/src/input/input_http.c
index 91efc53d2..24d70178a 100644
--- a/src/input/input_http.c
+++ b/src/input/input_http.c
@@ -19,7 +19,7 @@
*
* input plugin for http network streams
*
- * $Id: input_http.c,v 1.71 2003/11/15 13:01:08 miguelfreitas Exp $
+ * $Id: input_http.c,v 1.72 2003/11/15 15:04:36 miguelfreitas Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -432,7 +432,7 @@ static off_t http_plugin_read (input_plugin_t *this_gen,
int i = this->shoutcast_metaint - this->shoutcast_pos;
i = _x_io_tcp_read (this->stream, this->fh, &buf[num_bytes], i);
if (i < 0) {
- if (!this->stream->demux_action_pending)
+ if (!_x_action_pending(this->stream))
_x_message (this->stream, XINE_MSG_READ_ERROR, this->host, NULL);
xine_log (this->stream->xine, XINE_LOG_MSG, _("input_http: read error %d\n"), errno);
return 0;
@@ -453,7 +453,7 @@ static off_t http_plugin_read (input_plugin_t *this_gen,
/* read errors */
if (n < 0) {
- if (!this->stream->demux_action_pending)
+ if (!_x_action_pending(this->stream))
_x_message(this->stream, XINE_MSG_READ_ERROR, this->host, NULL);
xine_log (this->stream->xine, XINE_LOG_MSG, _("input_http: read error %d\n"), errno);
return 0;