Skip to content

Commit

Permalink
[x264/Qt, x265/Qt] Comment more on the purpose of an empty string as …
Browse files Browse the repository at this point in the history
…a tuning option
  • Loading branch information
eumagga0x2a committed Oct 31, 2016
1 parent 6843034 commit e02ddb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions avidemux_plugins/ADM_videoEncoder/x264/qt4/Q_x264.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ static const aspectRatio predefinedARs[]={
static const char* listOfPresets[] = { "ultrafast", "superfast", "veryfast", "faster", "fast", "medium", "slow", "slower", "veryslow", "placebo" };
#define NB_PRESET sizeof(listOfPresets)/sizeof(char*)

// Empty string "" as tuning means no tuning. This is the default.
static const char* listOfTunings[] = { "", "film", "animation", "grain", "stillimage", "psnr", "ssim" };
#define NB_TUNE sizeof(listOfTunings)/sizeof(char*)

Expand Down
1 change: 1 addition & 0 deletions avidemux_plugins/ADM_videoEncoder/x265/qt4/Q_x265.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ static const aspectRatio predefinedARs[]={
static const char* listOfPresets[] = { "ultrafast", "superfast", "veryfast", "faster", "fast", "medium", "slow", "slower", "veryslow", "placebo" };
#define NB_PRESET sizeof(listOfPresets)/sizeof(char*)

// Empty string "" as tuning means no tuning. This is the default.
static const char* listOfTunings[] = { "", "psnr", "ssim", "grain", "zerolatency", "fastdecode" };
#define NB_TUNE sizeof(listOfTunings)/sizeof(char*)

Expand Down

0 comments on commit e02ddb2

Please sign in to comment.