]>
Commit | Line | Data |
---|---|---|
d6f7c90e | 1 | Index: libquicktime-1.2.2/plugins/ffmpeg/lqt_ffmpeg.c |
2 | =================================================================== | |
3 | --- libquicktime-1.2.2.orig/plugins/ffmpeg/lqt_ffmpeg.c | |
4 | +++ libquicktime-1.2.2/plugins/ffmpeg/lqt_ffmpeg.c | |
5 | @@ -1031,8 +1031,8 @@ static void set_codec_info(struct CODECI | |
6 | snprintf(ffmpeg_long_name, 256, "%s", map->name); | |
7 | snprintf(ffmpeg_description, 256, "%s", map->name); | |
8 | ||
9 | - if((map->encoder && (map->encoder->type == CODEC_TYPE_VIDEO)) || | |
10 | - (map->decoder && (map->decoder->type == CODEC_TYPE_VIDEO))){ | |
11 | + if((map->encoder && (map->encoder->type == AVMEDIA_TYPE_VIDEO)) || | |
12 | + (map->decoder && (map->decoder->type == AVMEDIA_TYPE_VIDEO))){ | |
13 | codec_info_ffmpeg.type = LQT_CODEC_VIDEO; | |
14 | } else { | |
15 | codec_info_ffmpeg.type = LQT_CODEC_AUDIO; | |
16 | Index: libquicktime-1.2.2/plugins/ffmpeg/params.c | |
17 | =================================================================== | |
18 | --- libquicktime-1.2.2.orig/plugins/ffmpeg/params.c | |
19 | +++ libquicktime-1.2.2/plugins/ffmpeg/params.c | |
20 | @@ -205,8 +205,10 @@ void lqt_ffmpeg_set_parameter(AVCodecCon | |
21 | PARAM_FLOAT("ff_p_masking",p_masking); | |
22 | PARAM_FLOAT("ff_dark_masking",dark_masking); | |
23 | PARAM_ENUM("ff_prediction_method",prediction_method,prediction_method); | |
24 | +#if LIBAVCODEC_VERSION_MAJOR < 53 | |
25 | PARAM_INT("ff_mb_qmin",mb_qmin); | |
26 | PARAM_INT("ff_mb_qmax",mb_qmax); | |
27 | +#endif | |
28 | PARAM_ENUM("ff_me_cmp",me_cmp,compare_func); | |
29 | PARAM_CMP_CHROMA("ff_me_cmp_chroma",me_cmp); | |
30 | PARAM_ENUM("ff_me_sub_cmp",me_sub_cmp,compare_func); |