mirror of
https://github.com/mpv-player/mpv
synced 2024-12-30 02:52:10 +00:00
bugfix for ao_macosx last dts passthrough patch, patch by Ulion, ulion2002 gmail com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24769 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7b356a6680
commit
38920cc4d1
@ -712,7 +712,7 @@ static int OpenSPDIF()
|
|||||||
#else
|
#else
|
||||||
if (ao->stream_format.mFormatFlags & kAudioFormatFlagIsBigEndian)
|
if (ao->stream_format.mFormatFlags & kAudioFormatFlagIsBigEndian)
|
||||||
#endif
|
#endif
|
||||||
ao_msg(MSGT_AO, MSGL_WARN, "output stream has a no-native byte-order, digital output may failed.\n", (char *)&err);
|
ao_msg(MSGT_AO, MSGL_WARN, "output stream has a no-native byte-order, digital output may failed.\n");
|
||||||
|
|
||||||
/* For ac3/dts, just use packet size 6144 bytes as chunk size. */
|
/* For ac3/dts, just use packet size 6144 bytes as chunk size. */
|
||||||
ao->chunk_size = ao->stream_format.mBytesPerPacket;
|
ao->chunk_size = ao->stream_format.mBytesPerPacket;
|
||||||
|
Loading…
Reference in New Issue
Block a user