mpv/player
wm4 89bc2975e9 audio: change playback speed directly in resampler
Although the libraries we use for resampling (libavresample and
libswresample) do not support changing sampelrate on the fly, this makes
it easier to make sure no audio buffers are implicitly dropped. In fact,
this commit adds additional code to drain the resampler explicitly.

Changing speed twice without feeding audio in-between made it crash
with libavresample inc ertain cases (libswresample is fine). This is
probably a libavresample bug. Hopefully this will be fixed, and also I
attempted to workaround the situation that crashes it. (It seems to
point in direction of random memory corruption, though.)
2015-03-02 19:09:44 +01:00
..
lua ytdl: add "--ytdl-params" option 2015-02-25 22:32:48 +01:00
audio.c audio: change playback speed directly in resampler 2015-03-02 19:09:44 +01:00
client.c client API: add mpv_wait_async_requests() 2015-02-02 18:07:37 +01:00
client.h vo_opengl_cb: simplify API uninitialization 2014-12-31 20:31:19 +01:00
command.c client API: make some more properties observable 2015-02-27 12:24:04 +01:00
command.h player: fix audio-device-list updates 2015-02-14 15:13:58 +01:00
configfiles.c sub: mess with styling defaults, change --ass-use-margins behavior 2015-02-16 20:04:29 +01:00
core.h player: fix demuxer lifetime management 2015-02-22 19:06:21 +01:00
discnav.c osc, dvd, bd: fix mouse state when changing menu modes 2014-12-05 16:04:04 +01:00
loadfile.c player: refine rar:// playlist-safety handling 2015-03-02 19:09:36 +01:00
lua.c Lua: add mp.get_screen_margins(). 2015-03-01 13:08:39 +01:00
main.c encoding: allow encoding to channel configurations other than stereo 2015-02-23 16:25:12 +01:00
main_fn.c cocoa: fix build by using the correct HAVE_* macro 2014-08-06 09:31:59 +02:00
misc.c player: cosmetics: async/non-blocking -> reentrant 2015-02-20 20:06:43 +01:00
osd.c command: improve A-B loop behavior 2014-11-18 20:28:54 +01:00
playloop.c player: allow unsetting --term/osd-playing-msg 2015-02-18 21:12:57 +01:00
screenshot.c options: list correct default value for --screenshot-template 2015-01-26 11:38:23 +01:00
screenshot.h
scripting.c scripting: fix/improve deprecation message 2014-12-15 06:24:05 +01:00
sub.c player: enable cache and demuxer thread for subtitles too 2015-02-18 21:12:57 +01:00
video.c player: adjust A/V desync message 2015-02-26 10:38:37 +01:00