From 15bfe8f3aea1c0c00fbd570572fead2ccda11b45 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Fri, 1 Feb 2002 09:51:28 +0000 Subject: Is_seekable return -1 is there's no cur_input_plugin. CVS patchset: 1461 CVS date: 2002/02/01 09:51:28 --- src/xine-engine/xine.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index 023f3618c..91c122137 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.c,v 1.100 2002/01/24 23:09:54 guenter Exp $ + * $Id: xine.c,v 1.101 2002/02/01 09:51:28 f1rmb Exp $ * * top-level xine functions * @@ -545,6 +545,10 @@ xine_t *xine_init (vo_driver_t *vo, int xine_get_spu_channel (xine_t *this) { + printf("this->spu_channel_auto = %d\n", this->spu_channel_auto); + printf("this->spu_channel_user = %d\n", this->spu_channel_user); + printf("this->spu_channel = %d\n", this->spu_channel); + printf("return %d\n", this->spu_channel_user); return this->spu_channel_user; } @@ -837,12 +841,12 @@ void xine_get_audio_lang (xine_t *this, char *str) { } } - int xine_is_stream_seekable (xine_t *this) { - if (this->cur_input_plugin) + if (this->cur_input_plugin) return this->cur_input_plugin->get_capabilities (this->cur_input_plugin) & INPUT_CAP_SEEKABLE; - return 0; + + return -1; } osd_renderer_t *xine_get_osd_renderer (xine_t *this) { -- cgit v1.2.3