diff --git a/Makefile b/Makefile index 409ac7b6c2..387c456a34 100644 --- a/Makefile +++ b/Makefile @@ -520,7 +520,7 @@ SRCS_MENCODER-$(LIBAVFORMAT) += libmpdemux/muxer_lavf.c SRCS_MENCODER-$(LIBDV) += libmpcodecs/ve_libdv.c SRCS_MENCODER-$(LIBLZO) += libmpcodecs/ve_nuv.c SRCS_MENCODER-$(MP3LAME) += libmpcodecs/ae_lame.c -SRCS_MENCODER-$(QTX_CODECS) += libmpcodecs/ve_qtvideo.c +SRCS_MENCODER-$(QTX_CODECS_WIN32) += libmpcodecs/ve_qtvideo.c SRCS_MENCODER-$(TOOLAME) += libmpcodecs/ae_toolame.c SRCS_MENCODER-$(TWOLAME) += libmpcodecs/ae_twolame.c SRCS_MENCODER-$(WIN32DLL) += libmpcodecs/ve_vfw.c diff --git a/configure b/configure index e456c83f3e..695de456d9 100755 --- a/configure +++ b/configure @@ -6316,11 +6316,13 @@ echores "$_real" echocheck "QuickTime codecs" _qtx_emulation=no +_def_qtx_win32='#undef USE_QTX_CODECS_WIN32' if test "$_qtx" = auto ; then test "$_win32dll" = yes || darwin && _qtx=yes fi if test "$_qtx" = yes ; then _def_qtx='#define USE_QTX_CODECS 1' + win32 && _qtx_codecs_win32=yes && _def_qtx_win32='#define USE_QTX_CODECS_WIN32 1' _codecmodules="qtx $_codecmodules" darwin || win32 || _qtx_emulation=yes else @@ -7789,6 +7791,7 @@ DVDNAV = $_dvdnav WIN32DLL = $_win32dll WIN32_EMULATION = $_win32_emulation QTX_CODECS = $_qtx +QTX_CODECS_WIN32 = $_qtx_codecs_win32 QTX_EMULATION = $_qtx_emulation REAL_CODECS = $_real XANIM_CODECS = $_xanim @@ -8568,6 +8571,7 @@ $_def_joystick /* enables / disables QTX codecs */ $_def_qtx +$_def_qtx_win32 /* enables / disables osd menu */ $_def_menu diff --git a/libmpcodecs/ve.c b/libmpcodecs/ve.c index d74a0cd2d3..55c72332c2 100644 --- a/libmpcodecs/ve.c +++ b/libmpcodecs/ve.c @@ -28,7 +28,7 @@ static vf_info_t* encoder_list[]={ #endif #ifdef USE_WIN32DLL &ve_info_vfw, -#ifdef USE_QTX_CODECS +#ifdef USE_QTX_CODECS_WIN32 &ve_info_qtvideo, #endif #endif