diff options
author | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2013-07-20 13:58:04 -0300 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-22 02:42:38 +0200 |
commit | a8b4be274cfcf2372f26be3d9951af683ecf5032 (patch) | |
tree | 099376e2dcea2b15285d3551851df91145a42345 /audio | |
parent | dcf38e01905c40c9fd6dd603320395e808472a04 (diff) | |
download | mpv-a8b4be274cfcf2372f26be3d9951af683ecf5032.tar.bz2 mpv-a8b4be274cfcf2372f26be3d9951af683ecf5032.tar.xz |
ao_wasapi: Also do passthrough for AF_FORMAT_MPEG2
That's the sample format ad_spdif uses when the source is MP3.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/out/ao_wasapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_wasapi.c b/audio/out/ao_wasapi.c index 38d1637fb4..33634f261f 100644 --- a/audio/out/ao_wasapi.c +++ b/audio/out/ao_wasapi.c @@ -428,7 +428,7 @@ static int find_formats(struct ao *const ao) { struct wasapi_state *state = (struct wasapi_state *)ao->priv; - if (AF_FORMAT_IS_IEC61937(ao->format)) { + if (AF_FORMAT_IS_IEC61937(ao->format) || ao->format == AF_FORMAT_MPEG2) { if (try_passthrough(state, ao)) return 0; |