mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-18 13:00:00 +01:00
avformat/seek-test: Support passing options to demuxers and protocols
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -80,6 +80,8 @@ int main(int argc, char **argv)
|
|||||||
if (atoi(argv[i+1])) {
|
if (atoi(argv[i+1])) {
|
||||||
ic->flags |= AVFMT_FLAG_FAST_SEEK;
|
ic->flags |= AVFMT_FLAG_FAST_SEEK;
|
||||||
}
|
}
|
||||||
|
} else if(argv[i][0] == '-' && argv[i+1]) {
|
||||||
|
av_dict_set(&format_opts, argv[i] + 1, argv[i+1], 0);
|
||||||
} else {
|
} else {
|
||||||
argc = 1;
|
argc = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user