Commit Graph

25825 Commits

Author SHA1 Message Date
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
diego f6031d6305 Remove unused DPRINTF__ macro.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25831 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 11:11:32 +00:00
diego 72b5d885bc Move compare.c to TOOLS, add it to the Makefile and document it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25830 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 00:05:48 +00:00
reimar c83eeec033 Fix typo in comment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25829 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-21 20:46:28 +00:00
reimar 7d3a813f17 Remove useless casts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25828 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-21 19:59:27 +00:00
Gabrov 407f085fa0 synced with r25826
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25827 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-21 10:55:56 +00:00
diego 92c4228db1 Surround variable declarations by preprocessor conditionals to avoid warnings:
module.c:143: warning: unused variable 'typeName'
module.c:948: warning: unused variable 'err'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25826 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-21 00:14:52 +00:00
diego 67ce080c24 Comment out unused variables, fixes the warnings:
resource.c:117: warning: unused variable 'wm'
resource.c:140: warning: unused variable 'wm'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25825 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-21 00:10:51 +00:00
rtogni 8c3a19d8a8 Prevent possible buffer overflow on album_title[]
Based on a patch by Adam Bozanich abozanich musecurity com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25824 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 20:58:02 +00:00
rtogni 795973f732 Clear tmp between ip6 check and string escape to prevent reuse of the
buffer, in order to prevent a possible buffer overflow on malformed 
urls.

Based on a patch by Adam Bozanich abozanich musecurity com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25823 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 20:43:46 +00:00
diego 3bbe897e24 Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
capital letter are reserved for the system, those starting with _ are
reserved at the file level.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25822 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 17:16:39 +00:00
cehoyos 8fb418635e Added missing single quotation mark.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25821 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 17:03:35 +00:00
ulion 0556fa54b5 Fix compilation failue:
stream_cddb.c: In function 'cddb_read_cache':
stream_cddb.c:341: error: 'UINT_MAX' undeclared (first use in this function)
stream_cddb.c:341: error: (Each undeclared identifier is reported only once
stream_cddb.c:341: error: for each function it appears in.)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25820 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 16:13:51 +00:00
ulion 5d2de57e5b Fix vobsub_seek use same reseek method as vobsub_get_packet did.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25819 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 15:43:10 +00:00
ulion b060a1c644 Fix auto-sub code to support filenames with any extension length.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25818 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 15:39:13 +00:00
rtogni a27f74e98c Allow overriding the codec_tag for audio codecs, and always override
codec_tag for PCM codecs (codec_id from lavf is correct, but the 
codec_tag may be non-zero and wrong).

Also fixes bugzilla #983


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25817 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 12:57:53 +00:00
reimar 555dd1cfed Fragment programs must use unix eol.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25816 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 09:59:55 +00:00
reimar 2b316697f3 Avoid some pointer conversion warnings (the code is messy but not wrong)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25815 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 09:50:50 +00:00
reimar b34d4097bb Add missing vo_w32_border prototype
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25814 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 09:41:50 +00:00
reimar da28fa2ab2 Fix some function types from unspecified to empty argument list
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25813 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 09:40:15 +00:00
reimar b231e1cc32 Remove redundant declarations (already in video_out.h)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25812 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 09:38:18 +00:00
iive 27edd5ed7f Extend the precision of rationale conversion so
it would give proper result for framerate 60000/1001 .
Otherwise framerate restrained encoders like lavc mpeg2video
would refuse to encode, even if -ofps 60000/1001 is given.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25811 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 23:19:41 +00:00
reimar 5558291ae3 -panscan should also work for right and left borders
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25810 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 18:12:10 +00:00
reimar 51d433ec9b Some reindentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25809 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 18:10:06 +00:00
reimar 925d887fe3 Reindent
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25808 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 16:58:57 +00:00
reimar e1c3f319f2 Simplify and keep terminating end-of-line
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25807 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 16:57:53 +00:00
reimar 5efa59daeb Remove a broken and useless hack to avoid a memcpy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25806 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 16:49:01 +00:00
reimar 57f7b01ee4 Cached file must be 0-terminated since we use string processing functions on it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25805 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 16:41:35 +00:00
reimar 20b28ac75e Make sure we do not write the terminating 0 out of bounds
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25804 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 16:33:06 +00:00
diego fd3d8e7b3c Add missing #include, fixes the warning:
dshow/mediatype.c:89: warning: implicit declaration of function 'vo_format_name'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25803 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 15:20:18 +00:00