diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-04-04 20:08:10 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-04-04 20:08:10 +0000 |
commit | 2b0524396029052004edcc63e21f96abf7ff3e19 (patch) | |
tree | 644df6b4c53f09dbf9af431fba6cc43c5c1d53af /libavfilter | |
parent | d42927893b4239805e8590071045b6d3c7547b7a (diff) | |
download | ffmpeg-2b0524396029052004edcc63e21f96abf7ff3e19.tar.gz |
Use CodecType for pad type
Commited in SoC by Vitor Sessak on 2008-02-10 20:41:57
Originally committed as revision 12721 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avfiltergraph.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index 7eb0bea004..ae2c531a5e 100644 --- a/libavfilter/avfiltergraph.c +++ b/libavfilter/avfiltergraph.c @@ -278,7 +278,7 @@ static int add_graph_input(AVFilterContext *gctx, AVFilterContext *filt, unsigne AVFilterPad graph_inpad = { .name = name, - .type = AV_PAD_VIDEO, + .type = CODEC_TYPE_VIDEO, .start_frame = graph_in_start_frame, .end_frame = graph_in_end_frame, .get_video_buffer = graph_in_get_video_buffer, @@ -289,7 +289,7 @@ static int add_graph_input(AVFilterContext *gctx, AVFilterContext *filt, unsigne AVFilterPad dummy_outpad = { .name = NULL, /* FIXME? */ - .type = AV_PAD_VIDEO, + .type = CODEC_TYPE_VIDEO, .request_frame = link_in_request_frame, .poll_frame = link_in_poll_frame, .config_props = link_in_config_props, @@ -310,7 +310,7 @@ static int add_graph_output(AVFilterContext *gctx, AVFilterContext *filt, unsign AVFilterPad graph_outpad = { .name = name, - .type = AV_PAD_VIDEO, + .type = CODEC_TYPE_VIDEO, .request_frame = graph_out_request_frame, .poll_frame = graph_out_poll_frame, .config_props = graph_out_config_props, @@ -318,7 +318,7 @@ static int add_graph_output(AVFilterContext *gctx, AVFilterContext *filt, unsign AVFilterPad dummy_inpad = { .name = NULL, /* FIXME? */ - .type = AV_PAD_VIDEO, + .type = CODEC_TYPE_VIDEO, .start_frame = link_out_start_frame, .end_frame = link_out_end_frame, .draw_slice = link_out_draw_slice, |