History

lavfi: move AVFilterLink.current_pts(_us) to FilterLink

Anton Khirnov committed 2 years ago

Commit d6318a21 parent 7f17e0e5 files · +25 −24Browse files

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

Unified · Split

libavfilter/avfiltergraph.c+3−3
@@ -1326,7 +1326,7 @@ static void heap_bubble_up(FFFilterGraph *graph, · 1325 unmodified lines
13261326
13271327 while (index) {
13281328 int parent = (index - 1) >> 1;
1329− if (links[parent]->l.pub.current_pts_us >= li->l.pub.current_pts_us)
1329+ if (links[parent]->l.current_pts_us >= li->l.current_pts_us)
13301330 break;
13311331 links[index] = links[parent];
13321332 links[index]->age_index = index;
@@ -1348,9 +1348,9 @@ static void heap_bubble_down(FFFilterGraph *graph, · 15 unmodified lines
13481348 if (child >= graph->sink_links_count)
13491349 break;
13501350 if (child + 1 < graph->sink_links_count &&
1351− links[child + 1]->l.pub.current_pts_us < links[child]->l.pub.current_pts_us)
1351+ links[child + 1]->l.current_pts_us < links[child]->l.current_pts_us)
13521352 child++;
1353− if (li->l.pub.current_pts_us < links[child]->l.pub.current_pts_us)
1353+ if (li->l.current_pts_us < links[child]->l.current_pts_us)
13541354 break;
13551355 links[index] = links[child];
13561356 links[index]->age_index = index;

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