summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg_mux.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-04-04 10:51:53 +0200
committerAnton Khirnov <anton@khirnov.net>2024-04-09 10:34:18 +0200
commita4c940c86a46e817eea16d8535db383f9e19c25c (patch)
tree34184aa49f274d906365e8afedff13db058858f8 /fftools/ffmpeg_mux.h
parenta2892dbe06161452ec6592bcdddd0cbe8b0f6780 (diff)
fftools/ffmpeg_filter: move most of -apad logic to the muxer
The decision whether -apad actually does anything is made based on muxer properties, and so more properly belongs there. Filtering code only receives the result.
Diffstat (limited to 'fftools/ffmpeg_mux.h')
-rw-r--r--fftools/ffmpeg_mux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fftools/ffmpeg_mux.h b/fftools/ffmpeg_mux.h
index f8b6f7a790..1e9ea35412 100644
--- a/fftools/ffmpeg_mux.h
+++ b/fftools/ffmpeg_mux.h
@@ -78,6 +78,8 @@ typedef struct MuxStream {
#if FFMPEG_OPT_VSYNC_DROP
int ts_drop;
#endif
+
+ char *apad;
} MuxStream;
typedef struct Muxer {