Commit 8d3cfc4c authored by Sam Hocevar's avatar Sam Hocevar

* modules/codec/ffmpeg/ffmpeg.c modules/stream_out/transcode.c:

    + Added macros for AltiVec versions of these modules. Will not work at all
      for the moment.
parent 24b9dd14
......@@ -78,8 +78,15 @@ static char *enc_hq_list_text[] = { N_("rd"), N_("bits"), N_("simple") };
vlc_module_begin();
/* decoder main module */
set_description( _("ffmpeg audio/video decoder((MS)MPEG4,SVQ1,H263,WMV,WMA)") );
#if defined(MODULE_NAME_is_ffmpegaltivec) \
|| (defined(CAN_COMPILE_ALTIVEC) && !defined(NO_ALTIVEC_IN_FFMPEG))
set_description( _("AltiVec ffmpeg audio/video decoder ((MS)MPEG4,SVQ1,H263,WMV,WMA)") );
add_requirement( ALTIVEC );
set_capability( "decoder", 71 );
#else
set_description( _("ffmpeg audio/video decoder ((MS)MPEG4,SVQ1,H263,WMV,WMA)") );
set_capability( "decoder", 70 );
#endif
set_callbacks( OpenDecoder, CloseDecoder );
add_bool( "ffmpeg-dr", 1, NULL, DR_TEXT, DR_TEXT, VLC_TRUE );
......
......@@ -136,8 +136,15 @@ static void Close( vlc_object_t * );
#define SOUT_CFG_PREFIX "sout-transcode-"
vlc_module_begin();
#if defined(MODULE_NAME_is_stream_out_transcodealtivec) \
|| (defined(CAN_COMPILE_ALTIVEC) && !defined(NO_ALTIVEC_IN_FFMPEG))
set_description( _("AltiVec transcode stream output") );
add_requirement( ALTIVEC );
set_capability( "sout stream", 51 );
#else
set_description( _("Transcode stream output") );
set_capability( "sout stream", 50 );
#endif
add_shortcut( "transcode" );
set_callbacks( Open, Close );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment