History

initialize filter graphs completely even if there is no list of filters given to initially load.

Commited in SoC by Bobby Bingham on 2007-12-20 16:50:45 Originally committed as revision 12709 to svn://svn.ffmpeg.org/ffmpeg/trunk

Vitor Sessak committed 18 years ago

Commit 54d7fcc1 parent 5a7414f1 file · +3 −3Browse files

Showing the changes to libavfilter/avfiltergraph.c (1 of 1 file). Show all

Unified · Split

libavfilter/avfiltergraph.c+3−3
@@ -546,14 +546,14 @@ static int init(AVFilterContext *ctx, const char *args, void *opaque) · 545 unmodified lines
546{546{
547 GraphContext *gctx = ctx->priv;547 GraphContext *gctx = ctx->priv;
548 548
549 if(!args)
550 return 0;
551
552 if(!(gctx->link_filter = avfilter_open(&vf_graph_dummy, NULL)))549 if(!(gctx->link_filter = avfilter_open(&vf_graph_dummy, NULL)))
553 return -1;550 return -1;
554 if(avfilter_init_filter(gctx->link_filter, NULL, ctx))551 if(avfilter_init_filter(gctx->link_filter, NULL, ctx))
555 goto fail;552 goto fail;
556 553
554 if(!args)
555 return 0;
556
557 return graph_load_chain_from_string(ctx, args, NULL, NULL);557 return graph_load_chain_from_string(ctx, args, NULL, NULL);
558 558
559fail:559fail:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t