History

avfilter/vf_xmedian: allow to control eof handling

Paul B Mahol committed 5 years ago

Commit aea3cf41 parent 9ac31b41 file · +3 −2Browse files

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

Unified · Split

libavfilter/vf_xmedian.c+3−2
@@ -322,7 +322,7 @@ static int config_output(AVFilterLink *outlink) · 321 unmodified lines
322 in[i].time_base = inlink->time_base;322 in[i].time_base = inlink->time_base;
323 in[i].sync = 1;323 in[i].sync = 1;
324 in[i].before = EXT_STOP;324 in[i].before = EXT_STOP;
325 in[i].after = EXT_STOP;325 in[i].after = EXT_INFINITY;
326 }326 }
327 327
328 ret = ff_framesync_configure(&s->fs);328 ret = ff_framesync_configure(&s->fs);
@@ -389,7 +389,7 @@ static const AVFilterPad outputs[] = { · 60 unmodified lines
389};389};
390 390
391#if CONFIG_XMEDIAN_FILTER391#if CONFIG_XMEDIAN_FILTER
392AVFILTER_DEFINE_CLASS(xmedian);392FRAMESYNC_DEFINE_CLASS(xmedian, XMedianContext, fs);
393 393
394AVFilter ff_vf_xmedian = {394AVFilter ff_vf_xmedian = {
395 .name = "xmedian",395 .name = "xmedian",
@@ -398,6 +398,7 @@ AVFilter ff_vf_xmedian = { · 2 unmodified lines
398 .priv_class = &xmedian_class,398 .priv_class = &xmedian_class,
399 .query_formats = query_formats,399 .query_formats = query_formats,
400 .outputs = outputs,400 .outputs = outputs,
401 .preinit = xmedian_framesync_preinit,
401 .init = init,402 .init = init,
402 .uninit = uninit,403 .uninit = uninit,
403 .activate = activate,404 .activate = activate,

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