summaryrefslogtreecommitdiffstats
path: root/mplayer.c
Commit message (Collapse)AuthorAgeFilesLines
* Patch by Nico <nsabbi@libero.it>attila2003-11-011-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | this patch fixes a recently discovered bug for which DVB-C users couldn't tune (wrong parsing of the config file and incorrect parameter passing to tune_it()) and includes the still unapplied patch posted in date 6/9/2003: - it works correctly with and without caches; in the former case it doesn't take anymore a lot of time to empty the cache before changing channel; the uninit_cache() function is called in mplayer.c just after the new tuning operation - initialized a variable identifying the tuner type, and exit if it isn't supported - doesn't crash anymore when 1) the channels file doesn't exists 2) the tuner is used by another application 3) in the menu, when trying to select a channel before the first 4) some mp_msg() called in case of error git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11353 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not display VobSubs whose timecodes are < 0 which would make all VobSubs ↵mosu2003-10-301-1/+1
| | | | | | appear from the start on upon seeking. Patch by "Reder, Uwe" <Uwe.Reder@3SOFT.de>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11332 b3059339-0415-0410-9bf9-f77b7e298cf2
* make 'your system is too slow' appear only onceiive2003-10-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11255 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100000l againarpi2003-10-221-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11244 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for VobSub-in-Matroska; parts outside of demux_mkv.cpp.mosu2003-10-161-0/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11154 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l to pl, this made mplayer crash when playing playlists longerrfelker2003-10-041-2/+2
| | | | | | | | than 2 entries. I'm too lazy to debug so I'm just reverting the code. Someone who cares about the memleak can fix it properly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10998 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix a memory leak when playing several files in a row (playlist for instance)pl2003-09-291-2/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10960 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable code that DOES NOT WORK (it won't load real playlists andrfelker2003-09-271-0/+2
| | | | | | | | makes mplayer hang forever on unrecognized files), and probably avoid vulnerabilities at the same time git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10954 b3059339-0415-0410-9bf9-f77b7e298cf2
* add a read function for slave mode on mingwfaust32003-09-221-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10929 b3059339-0415-0410-9bf9-f77b7e298cf2
* Forced subtitles patch by Arne Driescher <driescher@mpi-magdeburg.mpg.de>attila2003-09-211-0/+13
| | | | | | | | | | | | | | | | | | | | | For a given subtitle language you can now chose to display only the forced subtitles. Defaut is set to "show all subtitles" so that current mplayer behaviour is not changed. For DVD: Use -forced_subs_only additionally to e.g. -slang en if you are only interested in the forced subtitles. For VobSub: The idx file is now parsed for the "forced subs: ON/OFF" tag and used according to its settings. Key: You can toggle the display of forced subtitles by pressing "F" (upper case letter). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10918 b3059339-0415-0410-9bf9-f77b7e298cf2
* slave mode commands to print out vo_fs and sub_visibility globals, patch by ↵faust32003-09-191-0/+13
| | | | | | Mike Swieton <swietonm at student.gvsu.edu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10885 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000lalex2003-08-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10719 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch fixes:alex2003-08-271-1/+29
| | | | | | | | | | | 1) if channels (in the list) are invalid excludes them 2) on encrypted/unreadable channels mplayer goes to the next/previous 3) when changing channel uninit all components but stream and input. Nico <nsabbi@libero.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10709 b3059339-0415-0410-9bf9-f77b7e298cf2
* dvb channel changing vs input system (lirc) fix by David Kuehling ↵alex2003-08-271-2/+2
| | | | | | <dvdkhlng@gmx.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10708 b3059339-0415-0410-9bf9-f77b7e298cf2
* fabs needs math.hranma2003-08-251-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10692 b3059339-0415-0410-9bf9-f77b7e298cf2
* X11_FULLSCREEN vs HAVE_X11 definitions and some warning fixesalex2003-08-181-6/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10662 b3059339-0415-0410-9bf9-f77b7e298cf2
* dll loading from codecs dir support for windowsfaust32003-08-171-0/+34
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10647 b3059339-0415-0410-9bf9-f77b7e298cf2
* there were no checks in MP_CMD_SUB for sh_video, so mplayer immediately ↵alex2003-08-141-7/+28
| | | | | | segfaulted when such keys were pressed on non-video files git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10610 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixalex2003-08-141-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10603 b3059339-0415-0410-9bf9-f77b7e298cf2
* "when I run "mplayer -slave <audiofile> " then, while playing, I send thealbeu2003-08-131-1/+1
| | | | | | | | | following command "loadfile <anyfile>" I get a crash ... " Report and patch by ROSEN Jeremy git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10597 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removed the historic cfgparser and switched full to the new config parser ↵alex2003-08-131-2/+2
| | | | | | (altought some macros still remain for compatibility). As a side effect 90% of the warning messages are gone from the core. Things should be cleaner now and less confusing for newbies. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10595 b3059339-0415-0410-9bf9-f77b7e298cf2
* reverse of accidently twice commited patch (non-unified patch suxx)gabucino2003-08-121-16/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10581 b3059339-0415-0410-9bf9-f77b7e298cf2
* From: Kir Kostuchenko <kir@users.sourceforge.net>gabucino2003-08-121-0/+16
| | | | | | | | | Hi, I found that command line options brightness, hue, contrast and saturation does not works, becouse mplayer apply it, before open tv (kernel says invalid ioctl). Here are simple fix. Please apply. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10580 b3059339-0415-0410-9bf9-f77b7e298cf2
* Hi, here are slave commands:gabucino2003-08-121-0/+16
| | | | | | | | | | | | tv_set_brightness tv_set_contrast tv_set_hue tv_set_color Patch by Kir Kostuchenko <kir@users.sourceforge.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10578 b3059339-0415-0410-9bf9-f77b7e298cf2
* this patch fixesarpi2003-08-111-21/+37
| | | | | | | | | | | | | 1) some bugs introduced in the tuner autodetection and in the channel-parsing functions, 3) retries reading when the mplayer/mencoder don't read fast enough (sooner it exited) but especially 4) makes the stream compliant with the new, modular stream api (the one currently in CVS is not and is totally unreachable). [and maybe more, next time please include cvslog in patch! -- A'rpi] patch by Nico <nsabbi@libero.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10561 b3059339-0415-0410-9bf9-f77b7e298cf2
* Prevent missing subtitles at pts reset.ranma2003-08-101-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10558 b3059339-0415-0410-9bf9-f77b7e298cf2
* For a request by Gabu, i've cut & fix a part of Joey's dvd aid switchinggabucino2003-08-091-1/+1
| | | | | | | | | | | patch, to always use the first audio track of DVD, unless -alang or -aid is used. I think it will be almost always teh id 128. (actual number comes from the .IFO) (reported ok - Gabu) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10551 b3059339-0415-0410-9bf9-f77b7e298cf2
* I'd like to change tv tuner frequency in the slave mode. So this patchgabucino2003-08-041-0/+8
| | | | | | | | | helps me. Patch by Kir Kostuchenko <kir@users.sourceforge.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10522 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync the basic mplayer and mencoder outputsalex2003-07-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10454 b3059339-0415-0410-9bf9-f77b7e298cf2
* copyright message rework, try 2alex2003-07-131-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10418 b3059339-0415-0410-9bf9-f77b7e298cf2
* Commands are read in a loop, but for some commands we need to breakalbeu2003-07-111-1/+9
| | | | | | | | the loop to finish processing the command. Otherwise some commands may appears as skiped to the user. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10410 b3059339-0415-0410-9bf9-f77b7e298cf2
* output typo fixes: unknow --> unknowndiego2003-07-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10398 b3059339-0415-0410-9bf9-f77b7e298cf2
* moved the system too slow message to MSGL_WARN, so gui users will not be ↵alex2003-06-271-1/+1
| | | | | | annoyed.. (and imho it fits better into that category, warning vs error) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10342 b3059339-0415-0410-9bf9-f77b7e298cf2
* renames: DATADIR->MPLAYER_DATADIR, CONFDIR->MPLAYER_CONFDIR, ↵arpi2003-06-091-5/+5
| | | | | | LIBDIR->MPLAYER_LIBDIR git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10273 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lalex2003-06-021-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10241 b3059339-0415-0410-9bf9-f77b7e298cf2
* check for -dumpstream file writes, patch by Eric Lammerts <eric@lammerts.org>alex2003-05-311-2/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10226 b3059339-0415-0410-9bf9-f77b7e298cf2
* display pts for audio-only files as hh:mm:ss.frfelker2003-05-311-2/+32
| | | | | | | patch by Robert Riches (rm.riches at verizon.net) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10224 b3059339-0415-0410-9bf9-f77b7e298cf2
* reversed my 10lalex2003-05-311-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10220 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lalex2003-05-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10218 b3059339-0415-0410-9bf9-f77b7e298cf2
* changed the silly func-inside-func codepicealex2003-05-301-7/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10217 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes by Dominik Mierzejewski <dominik@rangers.eu.org>alex2003-05-301-1/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10212 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for selecting the audio track in Matroska files via -alang.mosu2003-05-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10168 b3059339-0415-0410-9bf9-f77b7e298cf2
* new slave mode command to show text via osd, patch by Lars Gemeinhardt ↵faust32003-05-171-0/+14
| | | | | | <lars.gemeinhardt at searchbroker.de> (reviewed by albeu) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10117 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changed the order of two conditionals in an "if" statement, to make the codersf2003-05-031-1/+1
| | | | | | | (very slightly) more efficient in the common case. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10054 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l to whoever wrote this, it makes osd spam whenever starting a movie with ↵rfelker2003-04-191-1/+1
| | | | | | subtitles! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9941 b3059339-0415-0410-9bf9-f77b7e298cf2
* The person who checked in the previous patch accidentally put a declarationrsf2003-04-071-1/+1
| | | | | | | in the wrong place. (C sucks :-) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9876 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for multiple subtitle files by Marcin Wojdyr <wojdyr@unipress.waw.pl>henry2003-04-071-23/+114
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9871 b3059339-0415-0410-9bf9-f77b7e298cf2
* MINGW32 port and select()less fifocode by Arpifaust32003-04-041-2/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9832 b3059339-0415-0410-9bf9-f77b7e298cf2
* Stream cleanup, don't use blah_on options anymore.albeu2003-03-301-35/+13
| | | | | | | Remove the old config code git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9753 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improved xscreensaver support.ranma2003-03-261-0/+12
| | | | | | | | With this we no longer have to kill xscreensaver, but just send it a message periodically. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9696 b3059339-0415-0410-9bf9-f77b7e298cf2
* this is a combo patch that:arpi2003-03-161-3/+35
| | | | | | | | | | | | 1) adds an experimental TS demuxer to mplayer 2) adds an input (streaming) interface from DVB cards. It compiles and runs with the following versions of the drivers: dvb-kernel (HEAD) (with stock kernel 2.4.20) and 0.9.4 (with kernel 2.4.18) patch by Nico <nsabbi@libero.it> some cleanups, ts demuxer fixes by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9611 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add the new -vf option wich is the same as vop in reverse order.albeu2003-03-151-10/+6
| | | | | | | | Syntax is we decided, so you can give the nomes or not with both vop and vf. vf take precedence over vop. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9594 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove hardcoded "goto goto_next_file;" for -identify switch as suggestedranma2003-03-101-1/+0
| | | | | | | | by "Per Winkvist <per.winkvist@telia.com>", use -frames 0 if you want the old behaviour. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9564 b3059339-0415-0410-9bf9-f77b7e298cf2
* clean up of -geometry code.attila2003-03-021-6/+0
| | | | | | | disabled -geometry for all but -vo xv (will be fixed later) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9518 b3059339-0415-0410-9bf9-f77b7e298cf2
* 3x10l found by Dan Christiansen <danchr@daimi.au.dk>alex2003-02-191-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9465 b3059339-0415-0410-9bf9-f77b7e298cf2
* linux->osdeparpi2003-02-091-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9381 b3059339-0415-0410-9bf9-f77b7e298cf2
* fuckin' 10lpontscho2003-02-091-6/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9369 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100lpontscho2003-02-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9353 b3059339-0415-0410-9bf9-f77b7e298cf2
* minor fixes for font autoscalinghenry2003-02-081-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9347 b3059339-0415-0410-9bf9-f77b7e298cf2
* Forgot about #ifdef HAVE_X11. 10lfilon2003-02-081-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9337 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1larpi2003-02-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9320 b3059339-0415-0410-9bf9-f77b7e298cf2
* PATH_MAX should be more portable, and we even include limits.h to be surearpi2003-02-071-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9319 b3059339-0415-0410-9bf9-f77b7e298cf2
* - support command line parameter -fstype, eg. -fstype layer=12,above,fullscreenfilon2003-02-071-0/+5
| | | | | | | | | | | | - help (-fstype help) also availabible - support state BELOW (someone may want to use it...) and by -fstype none forcing of not changing window layer (user request) - drop icelayer option, it can be set by -fstype layer=<number> - simplify vo_x11_fullscreen - fs change code cleanup git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9318 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enhance portability and remove error prone usage of realloc()arpi2003-02-071-7/+2
| | | | | | | patch by Björn Sandell <biorn@dce.chalmers.se> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9316 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l!!!!!!!!arpi2003-02-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9305 b3059339-0415-0410-9bf9-f77b7e298cf2
* this patch fixes latest bug, discovered by .so ... (relative filenames &arpi2003-02-061-0/+15
| | | | | | | | playlists) This affects also the gui (filenames with space) patch by Fabian Franz <FabianFranz@gmx.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9302 b3059339-0415-0410-9bf9-f77b7e298cf2
* - It adds an option enqueue/noenqueue, so users can choose if they want toarpi2003-02-051-2/+37
| | | | | | | | | | | | | | have playlist overwritten by files on commandline or just enqueue them at the end ... - Playtree is finally cleared, as such gui has total control! - Autoplay if files are available on commandline and -enqueue is not set! - Fallback on Playlists finally does work with Gui and even with streaming Playlists! [ Before gui was broken as mplayer.c:playtree tried to have control] patch by Fabian Franz <FabianFranz@gmx.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9292 b3059339-0415-0410-9bf9-f77b7e298cf2
* compiler warning fixes patch by Dominik Mierzejewski <dominik@rangers.eu.org>arpi2003-02-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9218 b3059339-0415-0410-9bf9-f77b7e298cf2
* The two-digit aspect ratio displayed by -identify is not good enough toarpi2003-01-301-1/+1
| | | | | | | | base automatic calculations on. Jonas Jensen <jbj@knef.dk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9179 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l bug (double free() when libaf init failed)arpi2003-01-281-7/+0
| | | | |