|
|
|
@ -951,6 +951,9 @@ static int open_input_file(OptionsContext *o, const char *filename) |
|
|
|
|
f->nb_streams = ic->nb_streams; |
|
|
|
|
f->rate_emu = o->rate_emu; |
|
|
|
|
f->accurate_seek = o->accurate_seek; |
|
|
|
|
#if HAVE_PTHREADS |
|
|
|
|
f->thread_queue_size = o->thread_queue_size > 0 ? o->thread_queue_size : 8; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/* check if all codec options have been used */ |
|
|
|
|
unused_opts = strip_specifiers(o->g->codec_opts); |
|
|
|
@ -2957,6 +2960,9 @@ const OptionDef options[] = { |
|
|
|
|
{ "disposition", OPT_STRING | HAS_ARG | OPT_SPEC | |
|
|
|
|
OPT_OUTPUT, { .off = OFFSET(disposition) }, |
|
|
|
|
"disposition", "" }, |
|
|
|
|
{ "thread_queue_size", HAS_ARG | OPT_INT | OPT_OFFSET | OPT_EXPERT | OPT_INPUT, |
|
|
|
|
{ .off = OFFSET(thread_queue_size) }, |
|
|
|
|
"set the maximum number of queued packets from the demuxer" }, |
|
|
|
|
|
|
|
|
|
/* video options */ |
|
|
|
|
{ "vframes", OPT_VIDEO | HAS_ARG | OPT_PERFILE | OPT_OUTPUT, { .func_arg = opt_video_frames }, |
|
|
|
|