diff options
author | phintuka <phintuka> | 2007-12-19 20:35:40 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2007-12-19 20:35:40 +0000 |
commit | 00656085148e6e8e85ff5f81e3cc9cfa7ba361c9 (patch) | |
tree | 83cc2aed857229f5ce788cc64c898894e8d1a304 | |
parent | 52c4135751494502e88b6c2b2d757d720e54cccc (diff) | |
download | xineliboutput-00656085148e6e8e85ff5f81e3cc9cfa7ba361c9.tar.gz xineliboutput-00656085148e6e8e85ff5f81e3cc9cfa7ba361c9.tar.bz2 |
xine-lib-1.2 input class uses identifier string instead of get_identifier function
-rw-r--r-- | xine_frontend.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/xine_frontend.c b/xine_frontend.c index 1eb8927c..0e27b18f 100644 --- a/xine_frontend.c +++ b/xine_frontend.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_frontend.c,v 1.43 2007-10-31 22:14:18 phintuka Exp $ + * $Id: xine_frontend.c,v 1.44 2007-12-19 20:35:40 phintuka Exp $ * */ @@ -84,11 +84,15 @@ static int find_input(fe_t *this) usleep(100*1000); return 0; } +#if XINE_VERSION_CODE < 10190 if(strcmp(this->stream->input_plugin->input_class->get_identifier( this->stream->input_plugin->input_class), "xvdr")) { +#else + if(strcmp(this->stream->input_plugin->input_class->identifier, + "xvdr")) { +#endif LOGMSG("find_input: current xine input plugin is not xvdr !"); - /*usleep(100*1000);*/ return 0; } this->input = this->stream->input_plugin; |