diff options
author | Nicolas George <george@nsup.org> | 2015-02-25 11:50:44 +0100 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2015-02-26 19:19:56 +0100 |
commit | 508d6a23b4530d0f3d31451731e5fd1fce32525f (patch) | |
tree | 1f0e2bba943e0b3b7f0cacc394834495a22404dd /ffmpeg.h | |
parent | a92193f247816a45c16c37a2f7db723a0359c24c (diff) | |
download | ffmpeg-508d6a23b4530d0f3d31451731e5fd1fce32525f.tar.gz |
ffmpeg: allow to set the thread message queue size.
Diffstat (limited to 'ffmpeg.h')
-rw-r--r-- | ffmpeg.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |