Commit Graph

22647 Commits

Author SHA1 Message Date
reimar 4cb645c043 remove pointless cast to int
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22464 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-05 12:53:43 +00:00
reimar 4b217802c4 Remove subcp_open/subcp_close from mkv demuxer, they are useless since a long time.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22463 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-05 12:02:57 +00:00
reimar 03830018c9 Allow to add/modify keybind for '#'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22462 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-05 10:15:55 +00:00
diego 15de70585c -nomouseinput is no longer X11 only.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22461 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-05 00:41:45 +00:00
reimar a188335a33 Add code to detect and convert to console codepage on Windows.
Patch by Zuxy Meng [zuxy.meng at gmail com]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22460 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 19:04:08 +00:00
reimar 9ca5decb0b Include stdio.h for printf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22459 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 18:55:44 +00:00
nicodvb b14bee2928 when seeking consider stream->start_pos instead of 0 as initial position; patch by Zuxy Meng approved by Michael
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22458 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 16:23:18 +00:00
compn 10bb905591 getopt is only needed on msvc, remove from mingw/linux compile info
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22457 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 15:48:20 +00:00
kraymer b0ed6134ac 10l, remove local-only file from ignore list
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22456 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 15:47:11 +00:00
compn 9f5677c200 add vfw2menc info into README
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22455 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 15:44:35 +00:00
kraymer 0ca6a7f333 shut up 'svn status' by ignoring symlinked files
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22454 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 15:44:07 +00:00
compn c56173a49b add -xvfwopts compdata suboption to man page
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22453 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 15:27:51 +00:00
reimar 10552969c3 Remove variable that is unnecessary after last patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22452 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 15:15:59 +00:00
reimar bd039d9cfe Remove hack that sets demuxer->video->pts after seeking, it seems no longer needed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22451 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 15:13:38 +00:00
reimar 85671d7ee6 Set pts also for audio packets
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22450 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 15:02:53 +00:00
reimar 723fc2a290 Already frameno == num_frames means we reached EOF.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22449 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 14:59:23 +00:00
reimar 8849f44f77 Fix crash with avisynth audio-only files and take audio length into account when length is queried.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22448 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 14:53:26 +00:00
reimar 9a90222cc9 Support more avisynth audio sample types (untested)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22447 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 14:42:17 +00:00
reimar 7a2d48ad6f Remove useless void * casts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22446 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 14:24:03 +00:00
reimar 76160e7e5c Do not read more audio samples than available
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22445 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 14:11:44 +00:00
reimar 0733dc5f01 Fix pakcet -> packet typo in output
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22444 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 13:56:45 +00:00
reimar 0ff9a193c1 Set format tag for float samples correctly (currently useless)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22443 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 13:49:55 +00:00
reimar 74b70845a4 nomouseinput option should not depend on HAVE_X11.
Patch by Zuxy Meng (zuxy meng at gmail com)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22442 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 13:26:43 +00:00
reimar edfdc4c0b5 Add support for tracking mouse movements.
Patch by Zuxy Meng (zuxy meng at gmail com)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22441 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 13:20:51 +00:00
reimar 5c9ee0eb4d Move/simplify some variable declarations
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22440 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 12:59:48 +00:00
reimar bf9ed9dc26 Demuxers have no business setting o_bps
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22439 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 12:55:45 +00:00
reimar e1783b6b91 First half-working avisynth audio support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22438 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 12:52:16 +00:00
reimar e1b26346cc Fix wrong setting of samplesize (must be bytes per sample, not bits)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22437 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 12:43:55 +00:00
reimar bdf99c924b ENABLE_AUDIO now selects only between -nosound and -aid 0 as default, can be overridden at runtime.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22436 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 11:31:43 +00:00
reimar 28aaefce90 Enable aid/vid stream selection, although it is quite useless currently.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22435 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 11:23:11 +00:00
reimar 51d6a768c7 Whitespace-only cosmetics: get rid of all remaining tabs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22434 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 10:39:02 +00:00
reimar ad90e64ad9 Generate resize events when size of -wid window changes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22433 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 10:30:55 +00:00
reimar 30220b2a24 Fix type and usage of avs_get_audio function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22432 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 09:45:32 +00:00
reimar 2987b207ed Fix and simplify the WideCharToMultiByte and MultiByteToWideChar pseudo-implementations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22431 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 09:04:45 +00:00
nicodvb 8e2bc40df5 print the disc_id without using a buffer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22430 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 08:49:24 +00:00
uau eeec36107d Fix copy-paste bug (must have broken something in the GUI)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22429 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-03 22:15:19 +00:00
compn f70cce4301 wrong capitolization, thats a comma not a period
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22428 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-03 21:39:28 +00:00
compn 66d4061303 warn users about drm files, patch by zuxy meng
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22427 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-03 21:33:40 +00:00
compn bad67f49c3 warn users about DRM asf files, patch by zuxy meng
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22426 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-03 21:32:13 +00:00
vayne 9fde5d0977 supposed to be using global m_config here, and this wasn't even getting set.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22425 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-03 19:38:09 +00:00
reimar 96344b6d9c The original asm code for the stub returned 0, restore that behaviour.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22424 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-03 17:25:18 +00:00
reimar fa4f66ca08 Discard earlier failure in building filter chain when trying a new codec.
Avoids an incorrect "FATAL: Could not initialize video filters (-vf) or video output (-vo)."
message in some rare cases.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22423 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-03 16:59:39 +00:00
nicodvb 9dae0ef2b9 10000l; in previous commit I allocated a buffer 1 byte too short
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22422 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-03 13:39:46 +00:00
nicodvb 5caf4aa1b9 replaced 1 instances of sprintf() with snprintf(); patch by njkain gmail com.
This patch is intended to render code easier to audit against buffer oveflows



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22421 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-03 13:16:31 +00:00
nicodvb bcafc11cc0 replaced 2 instances of sprintf() with snprintf() and one instance
of strncpy() followed by string termination with strlcpy();
patch by njkain gmail com. This patch is intended to render code
easier to audit against buffer oveflows


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22420 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-03 13:10:31 +00:00
eugeni cb9cde3f8c Fix incorrect spacing introduced in r22231:
these two lines were supposed to perform truncation, not rounding.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22419 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-03 08:20:00 +00:00
diego 18bee86bc1 live555 version 2006.03.03 or later is needed to compile MPlayer.
patch by Carl Eugen Hoyos, cehoyos ag.or at


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22418 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-03 07:58:36 +00:00
vayne 0b13fce149 cosmetics, fix indentation as pointed out by Reimar
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22417 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-02 19:54:40 +00:00
voroshil e9e53f8cd0 Rework of copying samples from directshow codecs.
Using callback function provided by filter to store and process samples from
codec instead of explicit typecast to DS_Filter.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22416 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-02 18:52:10 +00:00
eugeni 5c927f2367 10l: x2scr used twice instead of y2scr.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22415 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-02 17:59:19 +00:00