aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-26 21:38:49 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-26 21:38:52 +0100
commit19dbe89f03d0fc97a43a4ac7989e7db2d5bf313b (patch)
treef879c4d4aa6f0aa182c08ec4bebfc166d37713e7 /ffmpeg.h
parent50833c9f7b4e1922197a8955669f8ab3589c8cef (diff)
parentd92c6d82c03b89d565f70e7a8e5b03b25f78f70c (diff)
downloadffmpeg-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg.h b/ffmpeg.h
index d2e0c5c3e9..7c0c22cfad 100644
--- a/ffmpeg.h
+++ b/ffmpeg.h
@@ -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;