diff options
author | Clément Bœsch <u@pkh.me> | 2015-09-11 21:10:14 +0200 |
---|---|---|
committer | Clément Bœsch <clement@stupeflix.com> | 2015-09-12 17:50:23 +0200 |
commit | 51cec6c306455655621fd7069af6d2b6deefef1e (patch) | |
tree | b438e0b412292187d40d1f32cce3b37bd54998a3 | |
parent | 411c32386ad56bd3da7e875140bed2b035ca2619 (diff) | |
download | ffmpeg-51cec6c306455655621fd7069af6d2b6deefef1e.tar.gz |
avcodec/libx264: use AV_OPT_TYPE_BOOL for fastfirstpass option
-rw-r--r-- | libavcodec/libx264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index a54743e4b4..58fcfb0eed 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -817,7 +817,7 @@ static const AVOption options[] = { { "preset", "Set the encoding preset (cf. x264 --fullhelp)", OFFSET(preset), AV_OPT_TYPE_STRING, { .str = "medium" }, 0, 0, VE}, { "tune", "Tune the encoding params (cf. x264 --fullhelp)", OFFSET(tune), AV_OPT_TYPE_STRING, { 0 }, 0, 0, VE}, { "profile", "Set profile restrictions (cf. x264 --fullhelp) ", OFFSET(profile), AV_OPT_TYPE_STRING, { 0 }, 0, 0, VE}, - { "fastfirstpass", "Use fast settings when encoding first pass", OFFSET(fastfirstpass), AV_OPT_TYPE_INT, { .i64 = 1 }, 0, 1, VE}, + { "fastfirstpass", "Use fast settings when encoding first pass", OFFSET(fastfirstpass), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, VE}, {"level", "Specify level (as defined by Annex A)", OFFSET(level), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, VE}, {"passlogfile", "Filename for 2 pass stats", OFFSET(stats), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, VE}, {"wpredp", "Weighted prediction for P-frames", OFFSET(wpredp), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, VE}, |