1
mirror of https://github.com/mpv-player/mpv synced 2024-10-30 04:46:41 +01:00
Commit Graph

50 Commits

Author SHA1 Message Date
Uoti Urpala
a2037a2eff Merge svn changes up to r29412 2009-07-07 02:56:01 +03:00
Uoti Urpala
0eb321bf2c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
Uoti Urpala
6d908205fb Merge svn changes up to r29304 2009-07-07 02:07:11 +03:00
Amar Takhar
e306174952 Translation system changes part 2: replace macros by strings
Replace all MSGTR_ macros in the source by the corresponding English
string.
2009-07-07 01:38:20 +03:00
Amar Takhar
b5972d6f14 Translation system changes part 1: wrap translated strings
Replace mp_msg() calls which have a translated string as the format
argument with mp_tmsg and add _() around all other translated strings.
2009-07-07 01:28:07 +03:00
reimar
ea47ab2a9f In all demux_info_add calls change "name" to "title".
Currently "name" and "title" are both used at random, this makes it consistent.
"title" was chosen because it is less ambiguous and also the get_meta_title
slave mode command uses that (there is no get_meta_name command).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29330 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-30 13:18:57 +00: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
diego
f077569dff Add standard license header to all files in libmpdemux.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29280 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-08 21:51:13 +00:00
reimar
4153f4e21c Avoid including avcodec.h in demuxer.h (and thus many other files) just to get
FF_INPUT_BUFFER_PADDING_SIZE.
Instead use MP_INPUT_BUFFER_PADDING_SIZE and add a preprocessor check that it
is big enough.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27314 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 17:14:12 +00:00
reimar
e870f84bfb Move duplicate FF_INPUT_BUFFER_PADDING_SIZE handling into demuxer.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27301 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 16:18:25 +00:00
diego
21c200e767 FFmpeg now uses different (unified) #include paths.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26101 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 15:46:36 +00:00
reimar
35ef167321 Make all demuxer_desc_t const, thus moving them to .rodata
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25735 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 16:00:39 +00:00
diego
e085bc8dcf Add explicit location for headers from the stream/ directory.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22623 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 18:36:36 +00:00
diego
e1547563a9 cosmetics: Fix some common typos, sepErate --> sepArate, deciSSion --> deciSion.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22301 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-21 10:05:46 +00:00
diego
9c2d44923a Remove superfluous bswap.h include.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21437 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-02 12:32:44 +00:00
diego
49e27d5849 printf --> mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19080 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 07:40:36 +00:00
uau
7022f65d0c Change free_sh_audio() to take demuxer and stream id as parameters
(same as new_sh_audio()) instead of sh_audio_t *, use those to remove
the pointer from demuxer->a_streams[] before freeing it.

Some demuxers use free_sh_audio() to undo the creation of an
already-allocated audio stream in case of error. These uses were unsafe
since free_sh_audio() freed the data structure but left the pointer in
demuxer->a_streams[], leading to double free later in free_demuxer()
(and perhaps use of the freed stream before that, I didn't check).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18711 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-14 14:05:59 +00:00
rtogni
9da9317579 Fix potential integer overflows in memory allocation.
Patch by Rich and me


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18559 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-04 22:41:27 +00:00
rathann
2601de4120 massive attack: mp_msg printf format fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-12 20:04:36 +00:00
rathann
f39b891ba0 convert some printfs to mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17356 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-10 11:09:03 +00:00
nicodvb
f774739df9 include the right avcodec.h, consistently with the rest of mplayer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17344 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-08 14:03:42 +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
rtognimp
cd68e1618b Demuxer modularization
Demuxer selection by name with -demuxer command (bakward compatible)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16176 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-05 19:57:47 +00:00
rfelker
7bd996caf4 make stupid gcc versions happy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12086 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-31 05:40:31 +00:00
rtognimp
e96035db2e 100l Fix audio decoding and random sig11
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11651 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-15 22:39:32 +00:00
alex
b43ef64f69 fixed 2 10l-s (bug found in the spring cleanup patch by Raindel Shachar
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9956 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-21 11:18:54 +00:00
michael
01c201dbe8 warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8255 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-23 10:58:14 +00:00
arpi
d483a015a2 tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-22 02:33:28 +00:00
arpi
46914c1498 some more output cosmetics, especially for vivo and mov demuxers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6140 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-20 03:51:58 +00:00
pl
667973e101 warning (proper) fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4408 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-29 12:11:52 +00:00
pl
0d08e5f435 warning fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3734 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-25 16:38:07 +00:00
pl
e0c43586ae x = malloc(strlen(s) + c) ... strcpy(x, s)
replaced by
x = strdup(s)

Note: sometimes c was 0 and that was a bug
Note2: code still has to be added to check the returned value of these funcs


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3613 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-19 13:03:22 +00:00
arpi
f0a8c2a8a3 vivo A-V sync fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3527 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-16 14:51:04 +00:00
alex
149f8a1265 -vivo version option added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3504 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-15 16:49:45 +00:00
alex
1fc41f6a2b added -vivo subconfig
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3503 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-15 16:44:54 +00:00
alex
b56bd49b6e hacked audio support to work with acm
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3472 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-12 18:24:21 +00:00
alex
b1a8f43317 fixed Waveformatheader emu and added vivo1/2 audio detection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3440 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-10 17:48:09 +00:00
alex
a1216fc770 added support for packet 0x82 (from vivodump.c by arpi)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3246 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-01 16:32:07 +00:00
alex
2ea47dbd6f changed to generate fourcc's like: viv<version> -> viv1,viv2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3114 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-25 16:33:39 +00:00
alex
437be981be wrote a very annoying bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3070 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-22 15:10:38 +00:00
alex
2b0861fc84 added support for demux_info
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3069 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-22 15:08:39 +00:00
alex
9fc1c333f7 some minor fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2929 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-16 19:45:10 +00:00
pl
ff534f0810 small fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2810 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 01:35:43 +00:00
alex
663c276f00 disabled vivo2 scaling (decodes some vivo2 files)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2806 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 00:31:34 +00:00
alex
22cecc831d checking for EOF
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2793 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-10 12:36:03 +00:00
alex
70b29b823d freeing up space and some debug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2789 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-09 22:17:35 +00:00
alex
ce1c6b954d vivo_check_file uses also new textparser
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2786 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-09 16:37:05 +00:00
alex
785d9496a9 added text block parser
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2785 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-09 16:32:46 +00:00
arpi
d1b9720467 vivo 2.0 compatibility
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2696 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-04 19:39:08 +00:00
arpi
27b3895659 vivo demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2688 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-04 16:57:09 +00:00