1 diff -pruN libquicktime-1.1.3.orig/plugins/x264/x264.c libquicktime-1.1.3/plugins/x264/x264.c
2 --- libquicktime-1.1.3.orig/plugins/x264/x264.c 2009-12-26 04:46:40.321825062 +0000
3 +++ libquicktime-1.1.3/plugins/x264/x264.c 2009-12-26 04:51:20.991825275 +0000
4 @@ -67,7 +67,11 @@ static void dump_params(x264_param_t * p
5 lqt_dump(" i_bframe: %d\n", params->i_bframe); // 0.. X264_BFRAME_MAX
6 lqt_dump(" b_bframe_adaptive: %d\n", params->b_bframe_adaptive);
7 lqt_dump(" i_bframe_bias: %d\n", params->i_bframe_bias);
8 +#if X264_BUILD < 78
9 lqt_dump(" b_bframe_pyramid: %d\n", params->b_bframe_pyramid);
10 +#else
11 + lqt_dump(" i_bframe_pyramid: %d\n", params->i_bframe_pyramid);
12 +#endif
13
14 lqt_dump(" b_deblocking_filter: %d\n", params->b_deblocking_filter);
15 lqt_dump(" i_deblocking_filter_alphac0: %d\n", params->i_deblocking_filter_alphac0); // -6..6
16 @@ -782,7 +786,11 @@ static int set_parameter(quicktime_t *fi
17 ENUMPARAM("x264_i_bframe_adaptive", codec->params.i_bframe_adaptive, bframe_adaptives);
18 #endif
19 INTPARAM("x264_i_bframe_bias", codec->params.i_bframe_bias);
20 +#if X264_BUILD < 78
21 INTPARAM("x264_b_bframe_pyramid", codec->params.b_bframe_pyramid);
22 +#else
23 + INTPARAM("x264_b_bframe_pyramid", codec->params.i_bframe_pyramid);
24 +#endif
25
26 ENUMPARAM("x264_i_rc_method", codec->params.rc.i_rc_method, rc_methods);
27 INTPARAM("x264_i_bitrate", codec->params.rc.i_bitrate);
|