1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 12:25:03 +00:00
Commit Graph

29 Commits

Author SHA1 Message Date
ulion
facdbc77aa Fix warnings:
ad_hwac3.c: In function 'decode_audio_dts':
ad_hwac3.c:499: warning: passing argument 1 of 'convert_14bits_to_16bits' from incompatible pointer type
ad_hwac3.c:499: warning: passing argument 2 of 'convert_14bits_to_16bits' from incompatible pointer type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25177 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-27 00:33:59 +00:00
reimar
a4533bdb84 Simplify convert_14bits_to_16bits function in ad_hwac3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25167 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-26 19:01:34 +00:00
ulion
33ae3abe14 Support convert 14-bit DTS stream into 16-bit stream if needed,
so we have space to add the IEC header for it.
DTS WAV/CD normally is 14-bit LE format, now we can passthrough it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25152 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-24 01:35:29 +00:00
ulion
0d8f770724 Make hwdts support more dts format identification, 14bits or 16bits, LE or BE.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25130 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-21 09:41:07 +00:00
reimar
af7f992651 Copy AC-3 bsmod field into IEC data-type field as required by the specs
Is not known to make any difference in practice (yet?).
Patch by Ulion (ulion2002 gmail com) minus a cast that seemed unnecessary
(beat me if I was wrong ;-) )


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24529 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-15 16:39:39 +00:00
reimar
d46f568fb4 Handle swab when input length is odd (treat it as if there was an additional
0 byte)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24528 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-15 16:30:39 +00:00
reimar
502368c206 Fix off-by-one error if fsize is odd (does handling that case even make sense?)
and remove a TODO comment that no longer applies.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24456 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 12:52:13 +00:00
reimar
73acce23fd Mark DTS tables as const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24455 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 12:47:15 +00:00
reimar
2be7f28a86 Fix 10l typo in syncword
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24454 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 12:39:02 +00:00
reimar
c3d320c6ac Improved comments, based on patches by Ulion [ulion2002 gmail com]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24453 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 08:56:04 +00:00
reimar
cb9466a0b3 Simplify and fix big-endian hwac3 header generation code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24452 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 08:54:06 +00:00
diego
b000a6a519 ISO8859-1 --> UTF-8
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23754 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-09 19:50:36 +00:00
reimar
d0d23a71da Make sure we always have a swab() prototype when we use it,
even if we use our osdep/swab.c emulation


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23658 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 15:25:32 +00:00
rathann
c471ba947a Fix:
ad_hwac3.c:115: warning: initialization from incompatible pointer type

This should've been done during liba52 update.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18513 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-14 22:03:24 +00:00
diego
36e1974be0 Unify include path handling, -I.. is in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-18 14:39:25 +00:00
hzoli
e06d2ac7ac Fix ADCTRL_SKIP_FRAME and add ADCTRL_RESYNC_STREAM
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15559 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-24 06:39:01 +00:00
diego
80281cc666 typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14711 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-16 01:39:49 +00:00
alex
507121f7fe removing AFMT_ dependancy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14246 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 17:30:15 +00:00
alex
dd4fadb7c0 10l fix I hope, reverse if not
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14188 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-19 16:53:26 +00:00
alex
bb6ad56cb5 10l found by Dominik 'Rathann' Mierzejewski <dominik@rangers.eu.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10949 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-26 19:21:08 +00:00
alex
489e551f54 DTS support by Peter Schuller <peterschueller@telemed.de> (revised by arpi)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10013 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-28 16:17:26 +00:00
arpi
94b6f5baba usage of libmpeg2, liba52, mp3lib & svq1 can be disabled
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8027 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-01 16:40:15 +00:00
arpi
f81b1c6037 10l bug - 'len' was handled wrong.
found by Anssi Saari <as@sci.fi>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7406 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-15 15:50:28 +00:00
arpi
09d8c4ddf0 -afm/-vfm help implemenetd, some cosmetics of ad/vd codec names/comments
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7192 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-31 13:09:23 +00:00
arpi
1b667f61ba -afm/-vfm migration from ID (int) to NAME (string) - simplifies code and makes dlopen()'ing possible
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7181 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-30 21:44:20 +00:00
arpi
1c3d3ba81a changed back to AFMT_AC3 (but now libao2 drivers autodetect it and fallback to S16) - idea by Vincent.Mussard@lineae.net
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5792 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-22 22:34:37 +00:00
arpi
aff40c7823 audio input buffer allocation/free cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5459 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-01 17:58:04 +00:00
arpi
b338f41223 ac3_iec958_build_burst moved from ac3-iec958.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5371 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-27 21:05:39 +00:00
arpi
7c026066ea imported from MPlayerXP, dlopen() hack removed, some bugs fixed, interface functions changed to static, info->author field added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5341 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-25 21:06:01 +00:00