Commit 4c514edc authored by Paul B Mahol's avatar Paul B Mahol

avfilter/avfilter: fix typos in comments

parent f515c978
...@@ -1370,7 +1370,7 @@ static int ff_filter_activate_default(AVFilterContext *filter) ...@@ -1370,7 +1370,7 @@ static int ff_filter_activate_default(AVFilterContext *filter)
and request_frame() to acknowledge status changes), to run once more and request_frame() to acknowledge status changes), to run once more
and check if enough input was present for several frames. and check if enough input was present for several frames.
Exemples of scenarios to consider: Examples of scenarios to consider:
- buffersrc: activate if frame_wanted_out to notify the application; - buffersrc: activate if frame_wanted_out to notify the application;
activate when the application adds a frame to push it immediately. activate when the application adds a frame to push it immediately.
...@@ -1396,7 +1396,7 @@ static int ff_filter_activate_default(AVFilterContext *filter) ...@@ -1396,7 +1396,7 @@ static int ff_filter_activate_default(AVFilterContext *filter)
- If an input has frames in fifo and frame_wanted_out == 0, dequeue a - If an input has frames in fifo and frame_wanted_out == 0, dequeue a
frame and call filter_frame(). frame and call filter_frame().
Ratinale: filter frames as soon as possible instead of leaving them Rationale: filter frames as soon as possible instead of leaving them
queued; frame_wanted_out < 0 is not possible since the old API does not queued; frame_wanted_out < 0 is not possible since the old API does not
set it nor provides any similar feedback; frame_wanted_out > 0 happens set it nor provides any similar feedback; frame_wanted_out > 0 happens
when min_samples > 0 and there are not enough samples queued. when min_samples > 0 and there are not enough samples queued.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment