summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_qt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demuxers/demux_qt.c')
-rw-r--r--src/demuxers/demux_qt.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/demuxers/demux_qt.c b/src/demuxers/demux_qt.c
index e9bfb573d..1c4cd67d1 100644
--- a/src/demuxers/demux_qt.c
+++ b/src/demuxers/demux_qt.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: demux_qt.c,v 1.6 2001/10/03 17:15:43 jkeil Exp $
+ * $Id: demux_qt.c,v 1.7 2001/10/17 20:33:09 guenter Exp $
*
* demultiplexer for quicktime streams, based on:
*
@@ -4377,19 +4377,21 @@ static int demux_qt_get_stream_length (demux_plugin_t *this_gen) {
return this->video_step * quicktime_video_length (this->qt, 0);
}
-demux_plugin_t *init_demuxer_plugin(int iface, config_values_t *config) {
+demux_plugin_t *init_demuxer_plugin(int iface, xine_t *xine) {
- demux_qt_t *this;
+ demux_qt_t *this;
+ config_values_t *config;
- if (iface != 3) {
- printf( "demux_mpeg: plugin doesn't support plugin API version %d.\n"
- "demux_mpeg: this means there's a version mismatch between xine and this "
- "demux_mpeg: demuxer plugin.\nInstalling current demux plugins should help.\n",
+ if (iface != 4) {
+ printf( "demux_qt: plugin doesn't support plugin API version %d.\n"
+ "demux_qt: this means there's a version mismatch between xine and this "
+ "demux_qt: demuxer plugin.\nInstalling current demux plugins should help.\n",
iface);
return NULL;
}
- this = xmalloc (sizeof (demux_qt_t));
+ this = xmalloc (sizeof (demux_qt_t));
+ config = xine->config;
xine_debug = config->lookup_int (config, "xine_debug", 0);
this->demux_plugin.interface_version = DEMUXER_PLUGIN_IFACE_VERSION;