forked from ports/contrib
28 lines
1.5 KiB
Diff
28 lines
1.5 KiB
Diff
|
diff -pruN libquicktime-1.1.3.orig/plugins/x264/x264.c libquicktime-1.1.3/plugins/x264/x264.c
|
||
|
--- libquicktime-1.1.3.orig/plugins/x264/x264.c 2009-12-26 04:46:40.321825062 +0000
|
||
|
+++ libquicktime-1.1.3/plugins/x264/x264.c 2009-12-26 04:51:20.991825275 +0000
|
||
|
@@ -67,7 +67,11 @@ static void dump_params(x264_param_t * p
|
||
|
lqt_dump(" i_bframe: %d\n", params->i_bframe); // 0.. X264_BFRAME_MAX
|
||
|
lqt_dump(" b_bframe_adaptive: %d\n", params->b_bframe_adaptive);
|
||
|
lqt_dump(" i_bframe_bias: %d\n", params->i_bframe_bias);
|
||
|
+#if X264_BUILD < 78
|
||
|
lqt_dump(" b_bframe_pyramid: %d\n", params->b_bframe_pyramid);
|
||
|
+#else
|
||
|
+ lqt_dump(" i_bframe_pyramid: %d\n", params->i_bframe_pyramid);
|
||
|
+#endif
|
||
|
|
||
|
lqt_dump(" b_deblocking_filter: %d\n", params->b_deblocking_filter);
|
||
|
lqt_dump(" i_deblocking_filter_alphac0: %d\n", params->i_deblocking_filter_alphac0); // -6..6
|
||
|
@@ -782,7 +786,11 @@ static int set_parameter(quicktime_t *fi
|
||
|
ENUMPARAM("x264_i_bframe_adaptive", codec->params.i_bframe_adaptive, bframe_adaptives);
|
||
|
#endif
|
||
|
INTPARAM("x264_i_bframe_bias", codec->params.i_bframe_bias);
|
||
|
+#if X264_BUILD < 78
|
||
|
INTPARAM("x264_b_bframe_pyramid", codec->params.b_bframe_pyramid);
|
||
|
+#else
|
||
|
+ INTPARAM("x264_b_bframe_pyramid", codec->params.i_bframe_pyramid);
|
||
|
+#endif
|
||
|
|
||
|
ENUMPARAM("x264_i_rc_method", codec->params.rc.i_rc_method, rc_methods);
|
||
|
INTPARAM("x264_i_bitrate", codec->params.rc.i_bitrate);
|