Commit Graph

25872 Commits

Author SHA1 Message Date
ivo d9d9086a84 port libmpdemux demuxers to libavformat or rewrite from scratch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25899 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-28 11:49:30 +00:00
diego 1c12fd33d0 Get rid of redundant dbg_printf redefinition. Fixes some warnings:
wine/debugtools.h:57: warning: useless type name in empty declaration


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25898 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-28 08:48:16 +00:00
diego fe9ec3ffdd Consistently use uppercase filename as multiple inclusion guard.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25897 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-28 01:32:52 +00:00
diego f0d20ffa71 Fix compilation failure because bitfile was undefined:
In file included from decoder.c:36:
mp4.h:46: error: expected ')' before '*' token


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25896 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-28 01:31:39 +00:00
diego 06e08a02a4 Add multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25895 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 23:09:03 +00:00
diego f0c1de19ab Replace with the output of the updated alaw-gen generator program.
This adds multiple inclusion guards and reformats the tables.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25894 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 18:49:24 +00:00
diego 962433eda2 Add multiple inclusion guards to generated header file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25893 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 18:42:00 +00:00
diego 2697136bbb Change format string so that the table is nicely aligned.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25892 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 18:40:01 +00:00
diego 7a1f275849 The alaw tables should be const.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25891 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 18:38:47 +00:00
diego e41ecd1a7e Rename some identifiers to not use leading underscores.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25890 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 18:23:03 +00:00
diego f7906235ad Fix illegal identifiers, names starting with __ are reserved for the system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25889 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 18:01:19 +00:00
diego 1af6d4f590 Change #warning to FIXME comments.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25888 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 17:40:38 +00:00
diego a025db119d Fix illegal identifiers, names starting with __ are reserved for the system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25887 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 17:32:26 +00:00
diego 989d3d9452 Remove setting of ldconfig, it is unused.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25886 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 17:05:10 +00:00
reimar 0d3f60aeff Reindent
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25885 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 16:38:04 +00:00
reimar f87af1b8cc Simplify subtitle handling with -ass
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25884 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 16:36:35 +00:00
reimar 4ddc96baae Support mov subtitle format directly instead of converting to text in the demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25883 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 16:13:21 +00:00
ben 0728cf9637 reindent after r25881
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25882 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 15:32:09 +00:00
ben 073360b3a4 sub_scale command can now handle both ass and non-ass subs at a time
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25881 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 15:31:24 +00:00
reimar 3b2a50aca9 Make sure sub_font is freed.
Patch by Guillaume LECERF (foxcore gmail com).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25880 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 15:15:55 +00:00
reimar fbae3928cd Allow independent scaling of vo_font and sub_font.
Patch by Guillaume LECERF (foxcore gmail com).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25879 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 15:14:02 +00:00
kraymer 131683f8f3 sync with r25821, patch by JRaSH (jrash06 163 com)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25878 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 12:21:00 +00:00
reimar 2da6e47a62 Remove $Id$ tags, they make diffs between different versions
harder to read than necessary.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25877 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 12:15:27 +00:00
reimar af86efaee0 Always use inline instead of _inline, the former is supported by all
compilers we care about, while e.g. ICC does not support the later.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25876 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 11:28:13 +00:00
reimar 63aadc8204 Use the standard "static inline" instead of some broken ifdef mess
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25875 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 11:25:45 +00:00
reimar e4cf805580 Prefer lavf mov demuxer over our own, it should work better most of the time now.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25874 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 09:08:54 +00:00
reimar 3560751199 Simplify init_vobsub: pass palette via extradata.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25873 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 23:52:15 +00:00
reimar f2cfee65cc Support vobsub palette in extradata, as exported by libavformat
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25872 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 23:47:25 +00:00
reimar 0e75f48aca 100l, inverted condition for AVSEEK_FLAG_BACKWARD
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25871 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 22:25:47 +00:00
reimar a3bb9882b7 Used wrong condition for using AVSEEK_FLAG_BACKWARD, it should depend on
relative vs. absolute, not time- vs. percent-based seek.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25870 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 22:06:36 +00:00
reimar a5d95b439d Cosmetics: remove some trailing whitespace
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25869 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 21:45:31 +00:00
reimar 977300acd5 Add QDM2 codec identifier
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25868 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 21:41:30 +00:00
reimar da2d2bd84a Partially support vobsub subtitles from lavf demuxers (palette support missing)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25867 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 21:17:08 +00:00
nicodvb 4205c1a8b7 in the crazy ES probing code return DEMUXER_TYPE_MPEG_ES (mpeg12v) only if we have at least a couple of SEQ/GOP startcodes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25866 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 19:01:13 +00:00
nicodvb 7186ce0f76 in the PMT stream_type==0x11 indicates AAC in LATM streams, that now libfaad can decode; re-added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25865 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 18:47:39 +00:00
nicodvb a8e8627367 added code to check and handle the presence of LATM streams in the init() and decode() functions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25864 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 18:45:11 +00:00
nicodvb 54cc9247e0 added AudioSpecificConfigFromBitfile() -that reads from an initizialized
bitstream- and reimplemented AudioSpecificConfig() in terms of the former.
Also, introduced a short_form parameter that indicates if the core
function must pretend not to know the size of the header (another craziness
in AAC)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25863 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 18:42:17 +00:00
nicodvb 46cfd2988b generic functions and structures to parse and statekeep LATM streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25862 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 18:31:48 +00:00
nicodvb 715cd43c17 in GASpecificConfig 1 bit (extensionflag3) wasn't being read and the comment was misplaced, too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25861 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 18:21:44 +00:00
ben dce8f5aa20 factorize 2 tests
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25860 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 16:19:42 +00:00
ben ca13485af8 Check for stream change in dvdnav.
Set new aspect ratio if needed (for example in cell change)



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25859 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 16:18:58 +00:00
ben 6230aab9bf add a new state flag to dvdnav in order to notify if
something has changed in the current stream (being title, chapter,
audio layer or SPU one)



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25858 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 16:17:44 +00:00
ben 923c1f08ca remove useless casts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25857 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 13:10:47 +00:00
ben 8a9021fc6d simplify by a one-liner
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25856 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 13:07:47 +00:00
ben ef8e584e39 remove the spu_set field, replaced by a flag
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25855 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 13:06:42 +00:00
ben 6ff2dd3561 this end brace was not correctly indented
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25854 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 12:54:44 +00:00
ben 8976b21cf1 automatically set spu button highlight when nav cell has changed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25853 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 12:54:14 +00:00
ben d56fe785be Add support for dvdnav still frames playback.
Based on various patches from Otvos Attila
and MPlayer'ized by me.

N.B. Always use -vc ffmpeg12 with dvdnav://



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25852 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 11:51:34 +00:00
ben 2597f0c3e2 set -vc=ffmpeg12 as dvdnav prefered decoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25851 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-25 19:27:42 +00:00
diego e19c591c3e spelling cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25850 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-25 01:11:54 +00:00