Skip to content

Commit d0ac56b

Browse files
committed
Change default RAP verification to false (#106, #107, #108)
1 parent 47e2083 commit d0ac56b

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

AviSynth/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@
321321
Whether to print indexing progress to stderr.
322322
+ ff_options (default: "")
323323
Same as 'ff_options' of LSMASHVideoSource().
324-
+ rap_verification (default: true)
324+
+ rap_verification (default: false)
325325
Whether to verify if the determined RAP by demuxer/parser is valid RAP (the frame is decoded).
326326
This is done in the indexing step.
327327
To avoid the indexing speed penalty set this to `false`.

AviSynth/lwlibav_source.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ AVSValue __cdecl CreateLWLibavVideoSource(AVSValue args, void* user_data, IScrip
441441
const char* cdir = args[16].AsString(nullptr);
442442
const bool progress = args[17].AsBool(true);
443443
const char* ff_options = args[18].AsString(nullptr);
444-
const bool rap_verification = args[19].AsBool(true);
444+
const bool rap_verification = args[19].AsBool(false);
445445
/* Set LW-Libav options. */
446446
lwlibav_option_t opt;
447447
opt.file_path = source;

VapourSynth/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@
194194
Create *.lwi file under this directory with names encoding the full path to avoid collisions.
195195
+ ff_options (default: "")
196196
Same as 'ff_options' of LibavSMASHSource().
197-
+ rap_verification (default: true)
197+
+ rap_verification (default: 0)
198198
Whether to verify if the determined RAP by demuxer/parser is valid RAP (the frame is decoded).
199199
This is done in the indexing step.
200-
To avoid the indexing speed penalty set this to false.
200+
To avoid the indexing speed penalty set this to `0`.
201201
Switching between `1` and `0` requires manual deletion of the index file.

VapourSynth/lwlibav_source.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ void VS_CC vs_lwlibavsource_create(const VSMap* in, VSMap* out, void* user_data,
341341
set_option_string(&preferred_decoder_names, NULL, "decoder", in, vsapi);
342342
set_option_string(&cache_dir, NULL, "cachedir", in, vsapi);
343343
set_option_string(&ff_options, NULL, "ff_options", in, vsapi);
344-
set_option_int64(&rap_verification, 1, "rap_verification", in, vsapi);
344+
set_option_int64(&rap_verification, 0, "rap_verification", in, vsapi);
345345
set_preferred_decoder_names_on_buf(hp->preferred_decoder_names_buf, preferred_decoder_names);
346346
/* Set options. */
347347
lwlibav_option_t opt;

0 commit comments

Comments
 (0)