summaryrefslogtreecommitdiff
path: root/src/libw32dll/qt_decoder.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-01-03 23:18:13 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-01-03 23:18:13 +0000
commit4d7006f37ee1aaae8cf00ef0739a2d8913e462b7 (patch)
treea7a29be213105c46cac82baac0af20b07074faac /src/libw32dll/qt_decoder.c
parentc7f59161c27e2a3eb72998d40a192a19a34f5f32 (diff)
downloadxine-lib-4d7006f37ee1aaae8cf00ef0739a2d8913e462b7.tar.gz
xine-lib-4d7006f37ee1aaae8cf00ef0739a2d8913e462b7.tar.bz2
preload to register codec path
CVS patchset: 3767 CVS date: 2003/01/03 23:18:13
Diffstat (limited to 'src/libw32dll/qt_decoder.c')
-rw-r--r--src/libw32dll/qt_decoder.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libw32dll/qt_decoder.c b/src/libw32dll/qt_decoder.c
index d012d9623..77fb92efc 100644
--- a/src/libw32dll/qt_decoder.c
+++ b/src/libw32dll/qt_decoder.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: qt_decoder.c,v 1.6 2003/01/01 20:39:20 guenter Exp $
+ * $Id: qt_decoder.c,v 1.7 2003/01/03 23:18:13 miguelfreitas Exp $
*
* quicktime video/audio decoder plugin, using win32 dlls
* most of this code comes directly from MPlayer
@@ -1149,12 +1149,12 @@ static void *qtv_init_class (xine_t *xine, void *data) {
_("path to win32 codec dlls"),
NULL, 0, NULL, NULL);
+#ifdef LOG
printf ("qtv_init_class...\n");
+#endif
pthread_once (&once_control, init_routine);
- printf ("qtv_init_class... done\n");
-
this = (qtv_class_t *) xine_xmalloc (sizeof (qtv_class_t));
this->decoder_class.open_plugin = qtv_open_plugin;
@@ -1178,8 +1178,8 @@ static decoder_info_t qtv_dec_info = {
plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
- { PLUGIN_VIDEO_DECODER, 14, "qtv", XINE_VERSION_CODE, &qtv_dec_info, qtv_init_class },
- { PLUGIN_AUDIO_DECODER, 13, "qta", XINE_VERSION_CODE, &qta_dec_info, qta_init_class },
+ { PLUGIN_VIDEO_DECODER | PLUGIN_MUST_PRELOAD, 14, "qtv", XINE_VERSION_CODE, &qtv_dec_info, qtv_init_class },
+ { PLUGIN_AUDIO_DECODER | PLUGIN_MUST_PRELOAD, 13, "qta", XINE_VERSION_CODE, &qta_dec_info, qta_init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
};