X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=ffmpeg.h;h=5caf584c7d68de3cee9fe328fc07748bde8819e6;hb=159aa1275e5d9c94edc313a51d65220e887d790b;hp=f09d33bdcf0ca2ee1ae8f7d90ed0a8986bb1789b;hpb=4890b0851c5e6b607c9b8695166f13dc770b19bc;p=ffmpeg diff --git a/ffmpeg.h b/ffmpeg.h index f09d33bdcf0..5caf584c7d6 100644 --- 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);