]> git.sesse.net Git - ffmpeg/blobdiff - ffmpeg.h
lavd/sdl2: Fix 32bit rgb formats on little-endian hardware.
[ffmpeg] / ffmpeg.h
index f09d33bdcf0ca2ee1ae8f7d90ed0a8986bb1789b..5caf584c7d68de3cee9fe328fc07748bde8819e6 100644 (file)
--- a/ffmpeg.h
+++ b/ffmpeg.h
@@ -418,6 +418,7 @@ typedef struct OutputStream {
     int64_t last_mux_dts;
     AVBitStreamFilterContext *bitstream_filters;
     AVCodecContext *enc_ctx;
+    AVCodecParameters *ref_par; /* associated input codec parameters with encoders options applied */
     AVCodec *enc;
     int64_t max_frames;
     AVFrame *filtered_frame;
@@ -573,7 +574,8 @@ void choose_sample_fmt(AVStream *st, AVCodec *codec);
 int configure_filtergraph(FilterGraph *fg);
 int configure_output_filter(FilterGraph *fg, OutputFilter *ofilter, AVFilterInOut *out);
 int ist_in_filtergraph(FilterGraph *fg, InputStream *ist);
-FilterGraph *init_simple_filtergraph(InputStream *ist, OutputStream *ost);
+int filtergraph_is_simple(FilterGraph *fg);
+int init_simple_filtergraph(InputStream *ist, OutputStream *ost);
 int init_complex_filtergraph(FilterGraph *fg);
 
 int ffmpeg_parse_options(int argc, char **argv);