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

25854 Commits

Author SHA1 Message Date
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
ben
1d8f3f9d67 add documentation about switch_angle and switch_title slave commands
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25849 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-24 22:36:06 +00:00
ben
43a7bc94c7 array was defined for 6 elements while 7 were declared
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25848 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-24 19:20:19 +00:00
ben
6274e7dee8 type expected by dvdnav_get_title_string() is const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25847 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-24 19:18:15 +00:00
ben
19ee16f29f remove some redundant declarations
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25846 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-24 19:15:28 +00:00
ben
e28bd7c6de Add new command to switch between dvdnav titles
Based on parts of dvdnav monster patches from Otvos Attila



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25845 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-24 19:14:05 +00:00
ben
9b72cde125 cosmetic: reindent code after r25843
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25844 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 22:34:51 +00:00
ben
127ed985dd sub_scale command now works with ass subtitles renderer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25843 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 22:33:46 +00:00
eugeni
f817a5dc52 Add ass_use_margins command and property to shift subtitles to margins and back
on the fly.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25842 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 21:18:32 +00:00
eugeni
00cce8eb30 Add global ass_force_reload flag.
If it is set, renderer is reconfigured before the next frame.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25841 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 21:18:30 +00:00
diego
70fca90b2a Ignore compare.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25840 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 21:10:15 +00:00
rtogni
6416245eba Zero codec_inited in the init() function, so that it's cleared everytime
the codec is inites (previously was only cleared once at start time).
Fixes a crash when -loop n (with n >= 2) is used with a qtvideo codec.

Patch by KO Myung-Hun komh chollian net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25839 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 20:48:50 +00:00
reimar
e9548a5aec Add a few const attributes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25838 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 18:54:14 +00:00
iive
1bc5cc764b Use the proper option name for constant quantizer
in the hint that user gets if there isn't any of
the essential options.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25837 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 14:32:15 +00:00
iive
41c2d2cb15 Move Zoran video controller check after the libavcodec one.
As _libavcodec_a is set to "auto" the zoran check used to always fail.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25836 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 14:08:59 +00:00
diego
57d162c7a5 Disable unused functions find_handle_2, find_handle_by_name, fixes the warning:
registry.c:317: warning: 'find_handle_2' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25835 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 11:18:58 +00:00
diego
e68f2215aa Disable unused function test_heap, fixes the warning:
win32.c:255: warning: 'test_heap' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25834 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 11:16:18 +00:00
diego
d44926d630 Remove unused function exp_ftol_wrong, fixes the warning:
win32.c:4273: warning: 'exp_ftol_wrong' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25833 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 11:15:06 +00:00
diego
7304096f87 Remove unused function fixup_address, fixes the warning:
pe_image.c:957: warning: 'fixup_address' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25832 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 11:12:47 +00:00