Commit Graph

26299 Commits

Author SHA1 Message Date
reimar 42234b5198 Remove another useless cast
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26330 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-05 14:07:34 +00:00
reimar 2ff97b7e85 Remove useless cast
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26329 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-05 14:07:05 +00:00
reimar af654481c0 Do proper parsing for DVR-MS files, this fixes playback with ffmpeg decoder
and also will create proper files when remuxing into e.g. AVI.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26328 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-05 11:09:21 +00:00
reimar e826cc2d72 Set demuxer->audio->id to avoid breakage due to r26301
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26327 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-05 09:19:55 +00:00
reimar 75535bba65 Set correct codec tag for raw rgb in mov, fixes
http://samples.mplayerhq.hu/mov/rawbgr24.mov


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26326 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-05 08:49:07 +00:00
diego e20c28296b Export some more information for FFmpeg's buid system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26325 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-04 19:38:06 +00:00
compn 6ee17da379 add switch_aspect cycle wish
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26324 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-04 01:24:40 +00:00
iive 2ae2955f09 Change I_TYPE -> FF_I_TYPE to fix compilation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26323 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-04 01:09:36 +00:00
reimar 9761bde49c Change I_TYPE -> FF_I_TYPE to fix compilation.
The whole functionality should probably be used to libavcodec though.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26322 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-03 17:19:23 +00:00
reimar 58054ed4a0 Better mark variables that are changed by the signal handler as volatile
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26321 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-03 16:57:16 +00:00
uau 12ff2d2644 Add some const qualifiers to reduce warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26320 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-02 01:01:22 +00:00
diego 63f2517dd2 Remove now useless PARTS-yes line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26319 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-01 22:00:54 +00:00
diego 54ea438edf Darwin and Win32 DVD support libs are handled separately, take them back
out of the combined system and DVD header test in the dvdread check.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26318 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-01 21:59:39 +00:00
diego a414eba619 Initialize _dvdread variable to "no" in the dvdread check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26317 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-01 21:22:02 +00:00
diego 5e1f250543 Remove pointless comments from local diff.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26316 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-01 17:42:16 +00:00
diego 01490fe993 cosmetics: Fix some typos and trailing whitespace in local changes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26315 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-01 17:41:18 +00:00
diego 01eb667a55 Revert local changes that pointlessly add #ifdefs all over libmpeg2 to disable
code depending on CPU capabilities. Instead, rely on libmpeg2's builtin CPU
capability handling.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26314 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-01 17:31:37 +00:00
uau 99901138ab Remove unnecessary includes
command.c: Don't include libmpcodecs/mp_image.h, libmpdemux/matroska.h
mplayer.c: Don't include libmpdemux/matroska.h
matroska.h: Remove declaration of already removed function
            demux_mkv_change_subs and stop including demuxer.h


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26313 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-01 15:24:53 +00:00
diego c32f706c96 Do not #include libavutil/common.h. It is not used directly and mpbswap.h
now #includes all required headers on its own.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26312 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-01 14:19:45 +00:00
diego 228b36b9b3 Ahem, fix quoting of $ in DEPEND_CMD.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26311 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-31 17:48:50 +00:00
diego adc9ef3107 Add DEPEND_CMD to config.mak (sync with FFmpeg).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26310 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-31 17:27:01 +00:00
diego 8697a8148d Rename HAVE_XVMC_ACCEL to HAVE_XVMC for consistency and to sync with FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26309 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-31 17:19:51 +00:00
diego 073786ee4f cosmetics: Group all FFmpeg settings together in config.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26308 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-31 17:04:06 +00:00
diego ff3609fb9b HAVE_MLIB was renamed to CONFIG_MLIB in FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26307 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-31 16:53:14 +00:00
diego 5d3fa363cc We currently use %U as argument to the Exec entry to indicate that gmplayer
handles URLs. However, gmplayer fails to open files with spaces in the
filename when launched from a file manager in this way. Changing %U to %F
works around this issue successfully while still working with URLs.
While this may not be a completely satisfactory solution, it is already
deployed in distributions and a better solution is unlikely to appear.
patch by Andrew Strong, andrew.david.45 gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26306 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-31 16:20:08 +00:00
uau 2b2792565e command.h: Remove unnecessary includes
Remove #include of "mp_core.h" and "input/input.h". Their only use was
that functions declared in command.h took pointers to structs defined
in those headers. Declare the structs directly as incomplete types
instead.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26305 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-31 04:10:54 +00:00
uau e3a29a7f4e mp_core.h: Fix use of 'mp_image_t' without definition
A field under #ifdef USE_DVDNAV had type "mp_image_t *', but a
definition of the type was not included. Fix by changing the type to
"struct mp_image_s *".

This probably started causing visible compilation failures after
'#include "command.h"' was added to command.c, as that led to
mp_core.h being included earlier.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26304 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-31 04:10:51 +00:00
eugeni 3a1a54fab4 Case insensitive parsing of SSA/ASS section headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26303 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-30 17:42:19 +00:00
eugeni 994b2022c3 Skip BOM at the beginning of text in ASS parser.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26302 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-30 17:42:17 +00:00
eugeni 7cc46c2e87 Support 'default' attribute for audio and subtitle tracks.
The first default track is chosen for playback if language-based selection
failes. Additionally, for audio tracks, the first one is chosen if there are
no default tracks at all.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26301 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-30 16:55:46 +00:00
diego 37d20cbc93 Fix wrong #endif comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26300 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-29 15:51:05 +00:00
reimar 54c48f18a1 Fix possible integer overflow in malloc by using calloc instead.
Should fix CVE-2008-0073 as far as MPlayer is affected by this problem.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26299 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-29 11:35:29 +00:00
ptt 33dc71664e synced with r26297
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26298 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-28 14:02:53 +00:00
ptt 36c0e7d7ac compacted new libavformat's 'ipod' description
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26297 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-28 13:59:58 +00:00
reimar 57521c3467 Handle property commands in idle mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26296 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-28 08:30:53 +00:00
uau 03bb309e4e Include some .h files in corresponding .c files
Include the corresponding .h file in command.c, parser-cfg.c and
parser-mpcmd.c. This allows the compiler to check that the
declarations in the .h file match the actual defition.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26295 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-28 01:07:59 +00:00
ptt 35717c8ec7 synced with r26073
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26294 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-27 19:58:00 +00:00
ptt 146247d149 it's synced with r23520
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26293 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-27 19:48:06 +00:00
ptt 10b5d21b5b it's synced with r26258
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26292 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-27 19:44:30 +00:00
ptt bf248264f5 it's synced with r24035
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26291 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-27 19:36:48 +00:00
ptt 556abf52d6 it's synced with r25566
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26290 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-27 19:35:13 +00:00
ptt a03a58e43b it's synced with 26146
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26289 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-27 19:33:54 +00:00
ptt 6e1cf9f457 synced with 23516 (it was already ok)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26288 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-27 19:32:05 +00:00
ptt dcc6c89a18 remove excessive space character
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26287 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-27 19:21:43 +00:00
ptt e22d45c996 grammar fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26286 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-27 19:10:00 +00:00
ptt 244014f2a6 38% synced with r22753
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26285 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-27 18:38:38 +00:00
diego 568fb38cda cosmetics: prettyprinting
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26284 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-27 11:19:11 +00:00
diego bd3b8d278a some more DragonFly BSD changes, patch by Hasso Tepper, hasso estpak ee
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26283 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-27 11:18:09 +00:00
ptt 953cca5a5f better explanation and grammar fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26282 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-27 08:42:09 +00:00
ptt 771863e035 grammar fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26281 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-27 08:29:04 +00:00