History

lavfi: move ff_update_link_current_pts() into the utility functions.

It does not change anything for the existing filters and makes better code fatrorization when future code will use the utility functions.

Nicolas George committed 9 years ago

Commit d3cb1401 parent 79101271 file · +1 −1Browse files

Unified · Split

libavfilter/avfilter.c+1−1
@@ -1117,7 +1117,6 @@ static int ff_filter_frame_framed(AVFilterLink *link, AVFrame *frame) · 1116 unmodified lines
11171117 filter_frame = default_filter_frame;
11181118 ret = filter_frame(link, frame);
11191119 link->frame_count_out++;
1120− ff_update_link_current_pts(link, frame->pts);
11211120 return ret;
11221121
11231122 fail:
@@ -1518,6 +1517,7 @@ int ff_inlink_check_available_samples(AVFilterLink *link, unsigned min) · 394 unmodified lines
15181517
15191518 static void consume_update(AVFilterLink *link, const AVFrame *frame)
15201519 {
1520+ ff_update_link_current_pts(link, frame->pts);
15211521 ff_inlink_process_commands(link, frame);
15221522 link->dst->is_disabled = !ff_inlink_evaluate_timeline_at_frame(link, frame);
15231523 link->frame_count_out++;

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