Commit Graph

50 Commits

Author SHA1 Message Date
reimar 55dbd183e3 ad_liba52: Fix -ac a52 with tags other than 0x2000 or dnet
Audio with all codec tags other than 0x2000 was byte-swapped, while
only "dnet" should be.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33028 b3059339-0415-0410-9bf9-f77b7e298cf2
2011-04-13 03:15:05 +03:00
Uoti Urpala 90d8bbb225 ad_liba52: fix -a52drc handling
Custom values other than 0 were ignored. Fix.
2010-11-23 00:44:37 +02:00
reimar db90a65d11 Remove remaining %lf printf conversions
Most cases are just code in comments.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32438 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-02 04:18:08 +02:00
Uoti Urpala 4de0369e8d options: move audio_output_channels, audio_output_format to struct 2010-11-02 04:18:07 +02:00
Uoti Urpala 3f076c0fb3 options: move -a52drc to option struct
Also allow a range up to 2.
2010-06-02 18:34:21 +03:00
Uoti Urpala 6f199ab3d9 Merge svn changes up to r31169 2010-05-30 15:27:58 +03:00
Uoti Urpala 1888e57af7 cosmetics: "struct vf_instance* vf" -> "struct vf_instance *vf"
Change 'struct vf_instance' pointer arguments to more standard style
as in the subject. Also some other minor formatting fixes.

Patch by Diego Biurrun.
2010-05-29 17:20:44 +03:00
diego 12f67b8372 Remove internal liba52 copy.
Nowadays FFmpeg is faster than liba52 and external liba52 is well supported.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31147 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-05-09 14:45:29 +00:00
Uoti Urpala 00323c06e2 Delete things related to old translation system
Remove the help/ subdirectory, configure code to create toplevel
help_mp.h, and all the '#include "help_mp.h"' lines from .c files.
2010-03-10 03:47:14 +02:00
Uoti Urpala b0986b3760 Merge svn changes up to r30463
Note that r30455 is wrong, that commit does not in fact change the
default behavior as claimed in the commit message. It only breaks
"-af-adv force=0", which was already pretty much useless though.
2010-03-09 18:59:15 +02:00
diego a6207aaa68 libmpcodecs: Mark functions not used outside of their files as static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30597 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-16 16:16:42 +00:00
diego 92e3238508 Mark all ad_info_t/vd_info_t structure declarations as const.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30546 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-12 16:29:34 +00:00
diego 23db422c3d Add missing license headers to all files in the libmpcodecs directory.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30463 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 16:57:40 +00:00
Uoti Urpala 0eb321bf2c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
diego 6e9cbdc104 whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
Uoti Urpala 1e86963828 Merge svn changes up to r28537 2009-02-12 04:17:55 +02:00
diego 95c44000d7 Give _XOPEN_SOURCE #define an explicit 600 value. Fixes build on Open Solaris.
patch by Imran Syed, freakabcd gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28480 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-07 17:34:45 +00:00
Uoti Urpala 9790f4e6e7 Merge svn changes up to r28461 2009-02-04 00:28:17 +02:00
reimar 3819692fda swab() needs _XOPEN_SOURCE to be defined.
Fixes two implicit declaration warnings.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28455 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-03 10:39:56 +00:00
Uoti Urpala 849dc0ba31 Merge svn changes up to r27649
Conflicts:
	Makefile
	configure
	libvo/x11_common.c
2008-09-20 16:13:33 +03:00
rathann a5e9a8d0ca External liba52 support, part 2 of 2.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27620 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 16:32:31 +00:00
rathann d977c6e812 External liba52 support part 1 of 2.
Conditionalize enabling of some the acceleration because
liba52-0.7.4 doesn't support all that MPlayer's included
copy does.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27619 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 16:30:24 +00:00
Uoti Urpala f6dfaf26f8 Make various functions static 2008-08-12 14:57:12 +03:00
Uoti Urpala d5c868325c Merge svn changes up to r26979
Most of the conflicts are trivial.

Conflicts:

	Makefile
	cfg-mplayer.h
	input/input.c
	libmenu/vf_menu.c
	libmpcodecs/dec_video.c
	libmpcodecs/vf_expand.c
	libmpcodecs/vf_vo.c
	libmpdemux/demux_mkv.c
	libmpdemux/demuxer.c
	libmpdemux/demuxer.h
	libvo/vo_directfb2.c
	libvo/vo_gl.c
	libvo/vo_winvidix.c
	libvo/vo_xv.c
	libvo/vo_xvidix.c
	libvo/vo_xvmc.c
	libvo/x11_common.c
	mplayer.c
	osdep/timer-linux.c
	stream/cache2.c
2008-06-04 08:10:48 +03:00
reimar 6ab8ece718 Properly free memory allocate by liba52.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26955 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-01 16:40:56 +00:00
Uoti Urpala 170d69a71e Make audio decoder description structs const
Make the per-decoder struct ad_functions and its ->info struct
constants. Same for the mpcodecs_ad_drivers[] table of pointers to
those structs.
2008-04-26 16:51:17 +03:00
diego d473822ae4 Remove duplicate #include of mpbswap.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26237 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-14 16:59:08 +00:00
reimar aac28cfe4c Move extern int audio_output_channels; to ad_internal.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23938 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 15:23:25 +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
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
diego 69f718e99a verbosity--;
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19950 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 10:42:03 +00:00
diego 60f223f766 Move #ifdefs around complete files into the build system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18774 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-21 14:49:09 +00:00
rathann d686f4e3cf sync with liba52 0.7.4, patch by Emanuele Giaquinta >emanuele.giaquinta ! gmail * com<
part 1: functional changes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18723 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-15 22:58:06 +00:00
reimar 67569814d9 Make sure maxlen is respected, instead of just failing the assert later on.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17582 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 18:21:52 +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 8c1d197ba7 No overlap allowed in memcpy, use memmove
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15561 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-24 06:58:55 +00:00
hzoli 813668889d Make sure that samplesize is at least 2, as some demuxers set it to 1
(demux_ogg for ac3 in ogm) or possibly even 0, and it causes preinit
to set audio_out_minsize too low, which causes overflow (assert).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15560 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-24 06:54:19 +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
hzoli fb3854d760 Add float output support. Add ADCTRL_QUERY_FORMAT control to report the
supported output formats.  Add ADCTRL_SET_VOLUME (not yet used).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14818 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-25 11:07: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 4ed4169ec6 a52 dynamic range compression support by Peter Gansterer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12286 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-26 08:53:41 +00:00
alex ff2f440043 reversing my brokeness, but imho dnet is still broken on BE systems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10979 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-02 14:13:52 +00:00
alex 1d22085841 fix for bigendian systems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10950 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-26 19:36:19 +00:00
arpi 5ee6845f26 ac3 byteswapping support (when format!=0x2000)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10120 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-17 11:35:32 +00:00
arpi 66e6173c0c AltiVec detection code ("borrowed" from FFmpeg and
libmpeg2) & enough code to enable the AltiVec IMDCT
    in liba52 and the DCT64 in mp3lib.
patch by Romain Dolbeau <dolbeau@irisa.fr>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9004 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-18 19:29:46 +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 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 280267c902 renamed to match driver family name
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7173 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-30 19:49:37 +00:00