ffmpeg: allow to set the thread message queue size.

This commit is contained in:
Nicolas George
2015-02-25 11:50:44 +01:00
parent a92193f247
commit 508d6a23b4
4 changed files with 15 additions and 1 deletions

View File

@ -111,6 +111,7 @@ typedef struct OptionsContext {
int64_t input_ts_offset;
int rate_emu;
int accurate_seek;
int thread_queue_size;
SpecifierOpt *ts_scale;
int nb_ts_scale;
@ -350,6 +351,7 @@ typedef struct InputFile {
pthread_t thread; /* thread reading from this file */
int non_blocking; /* reading packets from the thread should not block */
int joined; /* the thread has been joined */
int thread_queue_size; /* maximum number of queued packets */
#endif
} InputFile;