summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-11-10 14:51:48 +0100
committerAnton Khirnov <anton@khirnov.net>2022-04-13 12:07:54 +0200
commit288aa37387e93deefa66ff01f1ffae1d6a8988e3 (patch)
tree31981f1754b92a4410d181931b4bb2fab3319cd2 /fftools/ffmpeg.h
parentb1a984cb4956e73e6b2bcc6463f4f1d9ba8b5a29 (diff)
fftools/ffmpeg: move some muxing-related code into a separate file
This is a first step towards making muxers more independent from the rest of the code.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r--fftools/ffmpeg.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index 0eee6f4da8..cb475bb690 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -647,6 +647,10 @@ extern char *qsv_device;
#endif
extern HWDevice *filter_hw_device;
+extern int want_sdp;
+extern unsigned nb_output_dumped;
+extern int main_return_code;
+
void term_init(void);
void term_exit(void);
@@ -683,4 +687,10 @@ int hw_device_setup_for_filter(FilterGraph *fg);
int hwaccel_decode_init(AVCodecContext *avctx);
+/* open the muxer when all the streams are initialized */
+int of_check_init(OutputFile *of);
+
+void of_write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost,
+ int unqueue);
+
#endif /* FFTOOLS_FFMPEG_H */