]> git.sesse.net Git - ffmpeg/blobdiff - ffmpeg.h
Merge commit 'd16c8d28d4e2fca3af1054ffbf635c8cee755fc8'
[ffmpeg] / ffmpeg.h
index d2e0c5c3e920bc30b0b0d36999d068b5b83aa663..7c0c22cfad6e87b429678b0e59b2403785fa980e 100644 (file)
--- 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;