summaryrefslogtreecommitdiffstats
path: root/mplayer.c
Commit message (Collapse)AuthorAgeFilesLines
* dvd subtitles should be disabled by default, and enabled specifying -sid or ↵nicodvb2006-01-131-1/+2
| | | | | | -slang; this fix also restores the display of other subtitles types when dvd subs are present git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17380 b3059339-0415-0410-9bf9-f77b7e298cf2
* massive attack: mp_msg printf format fixesrathann2006-01-121-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix premature end of audio playback (audio only)henry2006-01-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17342 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update copyright date to 2006gpoirier2006-01-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17313 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't reset dvdsub->id unless -slang is specified; assign default sub stream ↵nicodvb2006-01-021-0/+2
| | | | | | id when demux->sub->id is -1 (autodetect) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17287 b3059339-0415-0410-9bf9-f77b7e298cf2
* check the intermediate audio bufferhenry2005-12-311-1/+1
| | | | | | | | otherwise, data can get stuck between the demuxer and filter layer causing a premature end of audio. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17275 b3059339-0415-0410-9bf9-f77b7e298cf2
* change erase to end of line, fall back to old behavior if no termcap foundods152005-12-291-2/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17259 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix erase to end of line with windows, windows terminal does not supportods152005-12-271-1/+1
| | | | | | | control codes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17252 b3059339-0415-0410-9bf9-f77b7e298cf2
* add "pausing_keep" and "pausing_toggle" input cmd prefixesods152005-12-251-2/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17242 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use termcap "erase to end of line" character code instead of using spacesods152005-12-251-3/+2
| | | | | | | to end of screen. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17241 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some more cola for msglevel, codec-cfg can't even call mp_msg_init or it'llods152005-12-071-3/+3
| | | | | | | print bogus stuff. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17121 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix EDL to be per file, allow -edlout and -edl together as there is reallyods152005-12-061-20/+15
| | | | | | | no reason not to. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17110 b3059339-0415-0410-9bf9-f77b7e298cf2
* new -msglevel option, constrols msg level for every msg moduleods152005-12-061-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17107 b3059339-0415-0410-9bf9-f77b7e298cf2
* mplayer.c:1928: warning: implicit declaration of function 'cache_uninit'rathann2005-12-051-0/+2
| | | | | | | mplayer.c:2897: warning: implicit declaration of function 'mpcodecs_config_vo' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17089 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a function to remove osd msg and use it to remove the "OSD: enabled"albeu2005-11-271-0/+25
| | | | | | | msg when switching the OSD to a level above 1. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17058 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make the osd command only switch between enabled/disabled whenalbeu2005-11-201-7/+14
| | | | | | | | using the term osd. Also put a define to test for the term osd without #ifdef. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17022 b3059339-0415-0410-9bf9-f77b7e298cf2
* Big OSD cleanup. Replace the mess with 100's of counter varsalbeu2005-11-161-265/+320
| | | | | | | | | with a clean and simple interface. As a bonus osd messages can now be displayed on the console if there is no vo (or osd is disabled in libvo). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16993 b3059339-0415-0410-9bf9-f77b7e298cf2
* add a switch, slave command, and vo control to toggle borderless window.joey2005-11-101-0/+15
| | | | | | | includes documentation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16969 b3059339-0415-0410-9bf9-f77b7e298cf2
* reordered subtitles language OSD display, since it worked bad for ogm...ptt2005-11-091-36/+37
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16956 b3059339-0415-0410-9bf9-f77b7e298cf2
* there is no sh_video for audio only filesfaust32005-11-061-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16939 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l: osd_show_dvd_nav_highlight is just a flagranma2005-11-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16934 b3059339-0415-0410-9bf9-f77b7e298cf2
* Number of frames to show the OSD shouldn't be hardcoded, derive from fps insteadranma2005-11-061-12/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16930 b3059339-0415-0410-9bf9-f77b7e298cf2
* Translated strings might be longer than the originals. One unnecessary ↵ranma2005-11-051-6/+5
| | | | | | dependancy on string length fixed; quadrupled buffer size for matroska case git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16919 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enabled OSD localization / moved msgs to help/help_mp-en.hptt2005-11-051-26/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16912 b3059339-0415-0410-9bf9-f77b7e298cf2
* Autoload vobsub's from ~/.mplayer/subalbeu2005-11-031-1/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16898 b3059339-0415-0410-9bf9-f77b7e298cf2
* new message was even worse -- B/s means bytes per second, not sample!rfelker2005-10-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16789 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow mencoder to load win32 codecs properly patch by Zuxy <zuxy.meng at ↵faust32005-10-161-29/+1
| | | | | | gmail.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16782 b3059339-0415-0410-9bf9-f77b7e298cf2
* exit mplayer if audio filter init fails (same as mencoder does)ivo2005-10-131-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16759 b3059339-0415-0410-9bf9-f77b7e298cf2
* Missing space in status linereimar2005-10-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16743 b3059339-0415-0410-9bf9-f77b7e298cf2
* change to switch/case for dumpsubods152005-10-121-6/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16741 b3059339-0415-0410-9bf9-f77b7e298cf2
* -frames plays one frame too many.reimar2005-10-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16731 b3059339-0415-0410-9bf9-f77b7e298cf2
* Show total time when playing audio-only filesreimar2005-10-041-13/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16655 b3059339-0415-0410-9bf9-f77b7e298cf2
* Prints -identify output for:gpoirier2005-09-191-0/+5
| | | | | | | | | | - video codec of the current file; - signal numbers; - demuxer help header. Patch by kiriuja <mplayer DATH patches AH en DATH directo POIS net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16523 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add comments to a few #endif statements in order to make clear whichdiego2005-09-151-21/+21
| | | | | | | #ifdef they belong to. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16491 b3059339-0415-0410-9bf9-f77b7e298cf2
* consistency fix: OSD bar for gamma changes should only appear when gammareimar2005-09-141-1/+2
| | | | | | | changing gamma is supported (like all other equalizer controls). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16490 b3059339-0415-0410-9bf9-f77b7e298cf2
* screenshot filterhenry2005-09-111-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16447 b3059339-0415-0410-9bf9-f77b7e298cf2
* clear OSD when playing new filereimar2005-09-051-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16403 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace bps by B/s when it means bytes per second to avoid ambiguity sincediego2005-09-021-1/+1
| | | | | | | | bps can mean any combination of bits/bytes per second/sample. patch by a.guru - at - sympatico - dot - ca git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16361 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adds -idle, an option to make MPlayer wait for input ('loadfile' orods152005-09-021-3/+56
| | | | | | | | | | 'loadlist') commands when it's done playing all files or there are no files on the command line. When used with -fixed-vo, you get a "frozen" vo window, but it can still accept input commands from there (clicking 'q' from the xv window will cause MPlayer to close..) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16348 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make -identify's 'ID_LENGTH=' print a float and not an integer.. Theods152005-09-021-2/+2
| | | | | | | | accuracey may be totally fake for some demuxers (mpg), but accurate for others.. (avi) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16347 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow multiple help clauses on the command line, Patch by kiriuja " ↵gpoirier2005-09-021-11/+17
| | | | | | | | | | | | | | | | | mplayer-patches AH en-directo POUM net " This one makes mplayer -vo help -ao help -ac help -vc help -pphelp -af help -vfm help -vf help -afm help -fstype help produce the desired output. From the thread: Date: Jul 16, 2005 8:25 PM Subject: [MPlayer-dev-eng] [PATCH] allow multiple help clauses on the command line git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16346 b3059339-0415-0410-9bf9-f77b7e298cf2
* add key_down_eventto slave mode, used to inject key down event with ↵nplourde2005-08-311-1/+3
| | | | | | mplayer_put_key git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16324 b3059339-0415-0410-9bf9-f77b7e298cf2
* adds 'ID_DEMUXER=avi' to -identify...ods152005-08-271-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16316 b3059339-0415-0410-9bf9-f77b7e298cf2
* ensure that audio-only files are decoded till the end by not onlyreimar2005-08-231-3/+8
| | | | | | | waiting for eof but also checking that the a_in_buffer is empty. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16291 b3059339-0415-0410-9bf9-f77b7e298cf2
* loadfile/loadlist can now also add files to the playlistreimar2005-08-151-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16228 b3059339-0415-0410-9bf9-f77b7e298cf2
* Demuxer modularizationrtognimp2005-08-051-0/+12
| | | | | | | Demuxer selection by name with -demuxer command (bakward compatible) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16176 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove unused cache-prefill and create cache-seek-min that controls when ↵iive2005-07-311-2/+4
| | | | | | seek_long is prefered over waiting for cache to fill git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16153 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove untranslatable stringswight2005-07-241-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16080 b3059339-0415-0410-9bf9-f77b7e298cf2
* define SIGHUP and SIGPIPE for MinGW and catch SIGPIPE also in mplayerreimar2005-07-221-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16050 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix few memleaks on exit.iive2005-07-211-1/+7
| | | | | | | 2 lines inspired by Timothy Lee <timothy.lee <at> siriushk.com> patch git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16037 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not count skipped/broken frames when using -framesreimar2005-07-031-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15896 b3059339-0415-0410-9bf9-f77b7e298cf2
* Missing part of the last commit (got merged in on cvs update :-( )reimar2005-06-301-11/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15866 b3059339-0415-0410-9bf9-f77b7e298cf2
* simplify osd-status display, and allow e.g. osd -2 to get the old behaviourreimar2005-06-301-2/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15864 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make the OSD display state information when cycling OSD states with 'o'.diego2005-06-301-2/+18
| | | | | | | based on a patch by Paul TT < paulltt - at- hackerjournal - dot - it > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15863 b3059339-0415-0410-9bf9-f77b7e298cf2
* make -srate work again, unify audio filter init and preinit.reimar2005-06-241-4/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15812 b3059339-0415-0410-9bf9-f77b7e298cf2
* adds some more -identify output, patch by kiriuja < mplayer DASH patches PAM ↵gpoirier2005-06-201-0/+6
| | | | | | en DASH directo POUM net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15790 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add sub_load and sub_remove slave commands.reimar2005-06-091-0/+64
| | | | | | | Patch by kiriuja [mplayer-patches at en-directo dot net] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15707 b3059339-0415-0410-9bf9-f77b7e298cf2
* strdup subtitle filename at a more appropriate place, fixing memleaks andreimar2005-06-011-5/+5
| | | | | | | double frees. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15604 b3059339-0415-0410-9bf9-f77b7e298cf2
* keep vo_fps and vo_mouse_timer_const in sync with sh_video->fps, otherwisereimar2005-05-281-0/+5
| | | | | | | mouse pointer autohide and the volume OSD from the gui break (with e.g. asf). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15585 b3059339-0415-0410-9bf9-f77b7e298cf2
* new get_time_pos slave mode commandoreimar2005-05-181-0/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15505 b3059339-0415-0410-9bf9-f77b7e298cf2
* use darwin accurate timernplourde2005-04-291-3/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15289 b3059339-0415-0410-9bf9-f77b7e298cf2
* adds a parameter to the switch_audio command to directly select a track.reimar2005-04-281-3/+5
| | | | | | | Patch by kiriuja mplayer-patches at en-directo net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15286 b3059339-0415-0410-9bf9-f77b7e298cf2
* Apply -srate and -channels only to the start of the filter chain, notreimar2005-04-221-3/+3
| | | | | | | to both start and end (made downmixing to 2 channels impossible). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15242 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix OSD when switching subtitles - set the osd buffer to Subtitle: offhenry2005-04-151-15/+15
| | | | | | | | | first, and then eventually set it to other values if some kind of subtitles is on. Otherwise 1) spudec stuff stomps on the buffer after vobsub, 2) Subtitle: off isn't displayed when cycling text subtitles. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15162 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow sub_select and vobsub_lang to select particular subtitlehenry2005-04-111-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15129 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove force_load_font stuff moved to sub.chenry2005-04-091-8/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15080 b3059339-0415-0410-9bf9-f77b7e298cf2
* reload font on fullscreen change when panscan is enabledhenry2005-04-091-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15075 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added support of audio stream switching in the MPEG demuxer using the #-keygpoirier2005-04-031-0/+3
| | | | | | | | Patch by Michael Behrisch < behrisch $ informatik * hu-berlin * de > commited with the kind blessing of D. Richard Felker III git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15047 b3059339-0415-0410-9bf9-f77b7e298cf2
* windows priority support patch by Rune Petersen <runner at mail.tele.dk> ↵faust32005-04-021-0/+16
| | | | | | with the freedom to shoot yourself in the foot git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15043 b3059339-0415-0410-9bf9-f77b7e298cf2
* finally remove the refences to bps outside libaf. also simplification of ↵alex2005-02-251-12/+4
| | | | | | some messages and removed redundants git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14819 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some to-be-redundant EDL code moved to edl.c with mencoder's edl in mind. ↵reynaldo2005-02-251-27/+3
| | | | | | Stack handling improvements, Patch by Oded Shimon git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14808 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make seek command parameter float.reimar2005-02-171-2/+3
| | | | | | | Patch by Oded Shimon [ods15 at ods15 dot dyndns dot org]. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14719 b3059339-0415-0410-9bf9-f77b7e298cf2
* command to log current subtitle to filehenry2005-02-121-2/+46
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14685 b3059339-0415-0410-9bf9-f77b7e298cf2
* avoid null pointer dereference with .ssa subtitles when the video codec is ↵faust32005-02-041-1/+1
| | | | | | missing patch by Philip Chong <pchong at ic.eecs.berkeley.edu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14645 b3059339-0415-0410-9bf9-f77b7e298cf2