History

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

Vitor Sessak committed 18 years ago

Commit 2b052431 parent d4292781 file · +4 −4Browse files

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

Unified · Split

libavfilter/avfiltergraph.c+4−4
@@ -278,7 +278,7 @@ static int add_graph_input(AVFilterContext *gctx, AVFilterContext *filt, unsigne · 277 unmodified lines
278278 AVFilterPad graph_inpad =
279279 {
280280 .name = name,
281− .type = AV_PAD_VIDEO,
281+ .type = CODEC_TYPE_VIDEO,
282282 .start_frame = graph_in_start_frame,
283283 .end_frame = graph_in_end_frame,
284284 .get_video_buffer = graph_in_get_video_buffer,
@@ -289,7 +289,7 @@ static int add_graph_input(AVFilterContext *gctx, AVFilterContext *filt, unsigne · 4 unmodified lines
289289 AVFilterPad dummy_outpad =
290290 {
291291 .name = NULL, /* FIXME? */
292− .type = AV_PAD_VIDEO,
292+ .type = CODEC_TYPE_VIDEO,
293293 .request_frame = link_in_request_frame,
294294 .poll_frame = link_in_poll_frame,
295295 .config_props = link_in_config_props,
@@ -310,7 +310,7 @@ static int add_graph_output(AVFilterContext *gctx, AVFilterContext *filt, unsign · 14 unmodified lines
310310 AVFilterPad graph_outpad =
311311 {
312312 .name = name,
313− .type = AV_PAD_VIDEO,
313+ .type = CODEC_TYPE_VIDEO,
314314 .request_frame = graph_out_request_frame,
315315 .poll_frame = graph_out_poll_frame,
316316 .config_props = graph_out_config_props,
@@ -318,7 +318,7 @@ static int add_graph_output(AVFilterContext *gctx, AVFilterContext *filt, unsign · 1 unmodified line
318318 AVFilterPad dummy_inpad =
319319 {
320320 .name = NULL, /* FIXME? */
321− .type = AV_PAD_VIDEO,
321+ .type = CODEC_TYPE_VIDEO,
322322 .start_frame = link_out_start_frame,
323323 .end_frame = link_out_end_frame,
324324 .draw_slice = link_out_draw_slice,

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