diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-02-01 09:51:28 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-02-01 09:51:28 +0000 |
commit | 15bfe8f3aea1c0c00fbd570572fead2ccda11b45 (patch) | |
tree | 23b39be6eb865bc00c2cb0cd4de3d537c2defc3d | |
parent | e0eab36c3180351f049bd88fe6b577711cbea105 (diff) | |
download | xine-lib-15bfe8f3aea1c0c00fbd570572fead2ccda11b45.tar.gz xine-lib-15bfe8f3aea1c0c00fbd570572fead2ccda11b45.tar.bz2 |
Is_seekable return -1 is there's no cur_input_plugin.
CVS patchset: 1461
CVS date: 2002/02/01 09:51:28
-rw-r--r-- | src/xine-engine/xine.c | 12 |
1 files 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) { |