diff options
author | wm4 <wm4@nowhere> | 2013-07-22 14:43:58 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-22 15:11:03 +0200 |
commit | 3b8dfddb4cb6e9431da659b10c5b31a9f17c81b5 (patch) | |
tree | b087f6551fa96a6fbe0f1f2b7f0f951f331eb552 /core/mp_core.h | |
parent | 221ef23d0d4454af974b08e68fad6b898d1d8e12 (diff) | |
download | mpv-3b8dfddb4cb6e9431da659b10c5b31a9f17c81b5.tar.bz2 mpv-3b8dfddb4cb6e9431da659b10c5b31a9f17c81b5.tar.xz |
audio/filter: use new option API
Make the VF/VO/AO option parser available to audio filters. No audio
filter uses this yet, but it's still a quite intrusive change.
In particular, the commands for manipulating filters at runtime
completely change. We delete the old code, and use the same
infrastructure as for video filters. (This forces complete
reinitialization of the filter chain, which hopefully isn't a problem
for any use cases. The old code forced reinitialization too, but it
could potentially allow a filter to cache things; e.g. consider loaded
ladspa plugins and such.)
Diffstat (limited to 'core/mp_core.h')
-rw-r--r-- | core/mp_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/mp_core.h b/core/mp_core.h index f7e6786b60..6bbe18c71e 100644 --- a/core/mp_core.h +++ b/core/mp_core.h @@ -296,6 +296,7 @@ double playing_audio_pts(struct MPContext *mpctx); struct track *mp_add_subtitles(struct MPContext *mpctx, char *filename, int noerr); int reinit_video_chain(struct MPContext *mpctx); int reinit_video_filters(struct MPContext *mpctx); +int reinit_audio_filters(struct MPContext *mpctx); void pause_player(struct MPContext *mpctx); void unpause_player(struct MPContext *mpctx); void add_step_frame(struct MPContext *mpctx, int dir); |