diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-26 21:38:49 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-26 21:38:52 +0100 |
commit | 19dbe89f03d0fc97a43a4ac7989e7db2d5bf313b (patch) | |
tree | f879c4d4aa6f0aa182c08ec4bebfc166d37713e7 /ffmpeg.h | |
parent | 50833c9f7b4e1922197a8955669f8ab3589c8cef (diff) | |
parent | d92c6d82c03b89d565f70e7a8e5b03b25f78f70c (diff) | |
download | ffmpeg-19dbe89f03d0fc97a43a4ac7989e7db2d5bf313b.tar.gz |
Merge remote-tracking branch 'cigaes/master'
* cigaes/master:
ffmpeg: notify when the thread message queue blocks.
ffmpeg: allow to set the thread message queue size.
lavd/alsa: set frame_size field.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
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; |