Advertisement
Guest User

Untitled

a guest
Feb 19th, 2018
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.20 KB | None | 0 0
  1. From 347a5f772e18a65c3438ce8cfd667da9199e4456 Mon Sep 17 00:00:00 2001
  2. From: Anton Mitrofanov <BugMaster@narod.ru>
  3. Date: Mon, 19 Feb 2018 19:53:38 +0300
  4. Subject: [PATCH] Fix --qpmax default value in fullhelp
  5.  
  6. ---
  7. x264.c | 2 +-
  8.  1 file changed, 1 insertion(+), 1 deletion(-)
  9.  
  10. diff --git a/x264.c b/x264.c
  11. index abedf21..84e42fb 100644
  12. --- a/x264.c
  13. +++ b/x264.c
  14. @@ -735,7 +735,7 @@ static void help( x264_param_t *defaults, int longhelp )
  15.      H2( "      --crf-max <float>       With CRF+VBV, limit RF to this value\n"
  16.          "                                  May cause VBV underflows!\n" );
  17.      H2( "      --qpmin <integer>       Set min QP [%d]\n", defaults->rc.i_qp_min );
  18. -    H2( "      --qpmax <integer>       Set max QP [%d]\n", defaults->rc.i_qp_max );
  19. +    H2( "      --qpmax <integer>       Set max QP [%d]\n", X264_MIN( defaults->rc.i_qp_max, QP_MAX ) );
  20.      H2( "      --qpstep <integer>      Set max QP step [%d]\n", defaults->rc.i_qp_step );
  21.      H2( "      --ratetol <float>       Tolerance of ABR ratecontrol and VBV [%.1f]\n", defaults->rc.f_rate_tolerance );
  22.      H2( "      --ipratio <float>       QP factor between I and P [%.2f]\n", defaults->rc.f_ip_factor );
  23. --
  24. 1.9.4.msysgit.2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement