History

lavfi: replace filter_samples by filter_frame

Based on patch by Anton Khirnov Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer committed 13 years ago

Commit cd7febd1 parent 16af29a41 files · +134 −134Browse files

Showing the changes to libavfilter/avfilter.h (1 of 41 files). Show all

Unified · Split

libavfilter/avfilter.h+4−4
@@ -339,7 +339,7 @@ struct AVFilterPad { · 338 unmodified lines
339339 * must ensure that samplesref is properly unreferenced on error if it
340340 * hasn't been passed on to another filter.
341341 */
342− int (*filter_samples)(AVFilterLink *link, AVFilterBufferRef *samplesref);
342+ int (*filter_frame)(AVFilterLink *link, AVFilterBufferRef *samplesref);
343343
344344 /**
345345 * Frame poll callback. This returns the number of immediately available
@@ -678,7 +678,7 @@ struct AVFilterLink { · 332 unmodified lines
678678 int partial_buf_size;
679679
680680 /**
681− * Minimum number of samples to filter at once. If filter_samples() is
681+ * Minimum number of samples to filter at once. If filter_frame() is
682682 * called with fewer samples, it will accumulate them in partial_buf.
683683 * This field and the related ones must not be changed after filtering
684684 * has started.
@@ -687,7 +687,7 @@ struct AVFilterLink { · 2 unmodified lines
687687 int min_samples;
688688
689689 /**
690− * Maximum number of samples to filter at once. If filter_samples() is
690+ * Maximum number of samples to filter at once. If filter_frame() is
691691 * called with more samples, it will split them.
692692 */
693693 int max_samples;
@@ -703,7 +703,7 @@ struct AVFilterLink { · 9 unmodified lines
703703
704704 /**
705705 * True if the link is closed.
706− * If set, all attemps of start_frame, filter_samples or request_frame
706+ * If set, all attemps of start_frame, filter_frame or request_frame
707707 * will fail with AVERROR_EOF, and if necessary the reference will be
708708 * destroyed.
709709 * If request_frame returns AVERROR_EOF, this flag is set on the

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