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

28 Commits

Author SHA1 Message Date
reimar
18004d2d98 Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21523 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-07 11:58:07 +00:00
diego
cac6c0eea2 Remove bswap.h, use libavutil/bswap.h instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21388 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-29 15:02:45 +00:00
reimar
e9e5d67d19 Do not use sh_audio->wf values if they are definitely invalid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20334 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-21 17:01:45 +00:00
rtognimp
6c4d9bfe51 4 - Implement a better way to calculate current audio pts and use it for
audio decoded with ad_libvorbis, ad_ffmpeg and ad_faad.

Patch by Uoti Urpala


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18243 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 10:58:40 +00:00
diego
d4e9855511 Using channel count, samplerate and input bps values from the container
instead of the decoder breaks some DTS samples where the container says
the audio has 6 channels but the decoder gives 2. In this case take the
number of channels from the decoder instead, the output will almost
certainly be badly garbled anyway if the number of channels is wrong.
patch by Uoti Urpala, uoti <<.>> urpala <<@>> pp1 <<.>> inet <<.>> fi


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18151 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-19 20:12:01 +00:00
diego
dd32d03f3e Trust the demuxer instead of the decoder for samplerate detection.
Fixes the ffmp3_bad_rate_detection.avi sample.
patch by qwen dux qwendu__at__gmail__.__com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17996 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-30 08:47:09 +00:00
diego
872a28cc57 Move conditional compilation out of the code and into the build system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17524 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-31 23:36:12 +00:00
henry
c0e54fd248 malloc padding to avoid access beyond allocated memory
Credits to Mikulas Patocka (mikulas at artax karlin mff cuni cz)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17227 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-19 19:38:28 +00:00
al
bd342e463a Support new static libavcodec (depends on libavutil).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16166 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-01 20:16:56 +00:00
rtognimp
d13d95f551 alac support via lavc decoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14923 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-06 17:55:31 +00:00
alex
43734534a4 pass wave extradata to the codec..
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14634 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-01 19:19:40 +00:00
reimar
479bdb2c08 change malloc and free to av_ variants where needed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14432 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-08 19:16:21 +00:00
reimar
393924ff39 setting samplesize to 2 in decoders where neccessary.
Needed because initialization of sh_audio was moved from dec_audio to
demuxer.c, and some demuxers set samplesize incorrect or to 0.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13428 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-21 20:34:47 +00:00
alex
2ae78ed799 inttypes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12143 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-06 16:15:57 +00:00
michael
14c5a7c333 flushing stuff after seeking (finally we can view MPEG without thouse blocks after seeking with -vc ffmpeg12)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11978 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-18 15:23:41 +00:00
michael
ce6c56af7b merging fourcc with codec_tag
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9548 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-08 02:05:14 +00:00
arpi
b20d743707 ffmp2 (with mpeg files) sig11 fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8591 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 00:40:11 +00:00
rtognimp
36f33dcaa3 Fix stereo MACE files
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8109 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-04 23:15:01 +00:00
arpi
4f148b5f42 MACE fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8102 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-04 18:46:53 +00:00
alex
94f5f95d31 10l - fixed wma version misdetection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7959 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-29 16:40:45 +00:00
arpi
6fbb5c27a5 pass extradata to the codec
patch by Fabrice Bellard <fabrice.bellard@free.fr>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7941 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-28 00:40:42 +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
c17e80d20f dynamic libavcodec.so support updated by
Alexander.Gottwald@informatik.tu-chemnitz.de


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7005 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-14 21:43:49 +00:00
arpi
0e69d0c69d removed useless contect struct -> code simplified
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5481 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-03 21:01:15 +00:00
alex
2870aa4331 using sh->context
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5448 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-01 13:10:03 +00:00
arpi
a823205f9f argh... Nick messed up driver names too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5344 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-25 22:03:33 +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