You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-29 05:57:37 +02:00
Merge commit '73c6ec6d659bab11ac424a4ba6ce3a56246295ee' into merge
* commit '73c6ec6d659bab11ac424a4ba6ce3a56246295ee': avconv: create simple filtergraphs earlier Merged-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
9
ffmpeg.c
9
ffmpeg.c
@@ -3069,11 +3069,10 @@ static int transcode_init(void)
|
||||
exit_program(1);
|
||||
#endif
|
||||
|
||||
if (!ost->filter &&
|
||||
(enc_ctx->codec_type == AVMEDIA_TYPE_VIDEO ||
|
||||
enc_ctx->codec_type == AVMEDIA_TYPE_AUDIO)) {
|
||||
FilterGraph *fg;
|
||||
fg = init_simple_filtergraph(ist, ost);
|
||||
if ((enc_ctx->codec_type == AVMEDIA_TYPE_VIDEO ||
|
||||
enc_ctx->codec_type == AVMEDIA_TYPE_AUDIO) &&
|
||||
filtergraph_is_simple(ost->filter->graph)) {
|
||||
FilterGraph *fg = ost->filter->graph;
|
||||
if (configure_filtergraph(fg)) {
|
||||
av_log(NULL, AV_LOG_FATAL, "Error opening filters!\n");
|
||||
exit_program(1);
|
||||
|
||||
Reference in New Issue
Block a user