summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg_mux.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-10-14 11:34:26 +0200
committerAnton Khirnov <anton@khirnov.net>2022-10-18 14:19:11 +0200
commitc5d7b6f49be661e67580e760aa53e83176e4d29c (patch)
tree19c5182f0e1d032495cc9ee141a3199d836ad8df /fftools/ffmpeg_mux.h
parentf0cd68eea0e6383049a0c4f80e4eb14c18d225b5 (diff)
downloadffmpeg-c5d7b6f49be661e67580e760aa53e83176e4d29c.tar.gz
fftools/ffmpeg_mux: move muxing queue fields from OutputStream to MuxStream
They are private to the muxer and do not need to be visible outside of it.
Diffstat (limited to 'fftools/ffmpeg_mux.h')
-rw-r--r--fftools/ffmpeg_mux.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fftools/ffmpeg_mux.h b/fftools/ffmpeg_mux.h
index 8470f971cc..6ea7c692ef 100644
--- a/fftools/ffmpeg_mux.h
+++ b/fftools/ffmpeg_mux.h
@@ -48,6 +48,11 @@ typedef struct MuxStream {
*/
size_t muxing_queue_data_size;
+ int max_muxing_queue_size;
+
+ /* Threshold after which max_muxing_queue_size will be in effect */
+ size_t muxing_queue_data_threshold;
+
/* dts of the last packet sent to the muxer, in the stream timebase
* used for making up missing dts values */
int64_t last_mux_dts;