summaryrefslogtreecommitdiffstats
path: root/mplayer.c
Commit message (Collapse)AuthorAgeFilesLines
* compiler warning fixes by Dominik Mierzejewski <dominik@rangers.eu.org>arpi2003-01-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8734 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use system-wide menu.conf file if nothing else is availible,filon2003-01-021-5/+13
| | | | | | | also always try first to fallback to user configuration file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8724 b3059339-0415-0410-9bf9-f77b7e298cf2
* I've made some changes to the -identify handling. As previously the outputarpi2002-12-311-2/+2
| | | | | | | | | for ID_VIDEO_FORMAT was only meaningful if it was a fourcc file, the output for mpeg1 and mpeg2 was jibberish. based on patch by Philip Jägenstedt <philipj@telia.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8673 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch fixes so that the exit code (or return code if you like) is setarpi2002-12-291-7/+11
| | | | | | | | | to zero when mplayer exits because of natural EOF or by the quit command. This can be useful if you (like me) use mplayer in scripts. patch by Oskar Liljeblad <oskar@osk.mine.nu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8645 b3059339-0415-0410-9bf9-f77b7e298cf2
* these patches let ,,oldstyle'' and freetype subtitle renderers livearpi2002-12-291-3/+3
| | | | | | | | | | | together happily. if an oldstyle subtitle (font.desc) is found, it will be used. otherwise mplayer will choose subfont.ttf, if freetype was detected during ./configure. (also you can use -font /path/to/font.desc and -font /path/to/foobar.ttf too) patch-set by Wojtek Kaniewski <wojtekka@bydg.pdi.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8636 b3059339-0415-0410-9bf9-f77b7e298cf2
* PATH_MAX fixedarpi2002-12-291-1/+1
| | | | | | | bugrep by Diego git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8635 b3059339-0415-0410-9bf9-f77b7e298cf2
* user friendly channel tuning + 10L fix in tvi_v4l (by Stephane Jourdois)henry2002-12-281-3/+41
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8628 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed 2 10l-salex2002-12-281-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8620 b3059339-0415-0410-9bf9-f77b7e298cf2
* The patch adds support for a per-file config, which is loaded beforearpi2002-12-281-0/+35
| | | | | | | | | playing the file. The config file is looked for in the same directory as the input file, and in the ~/.mplayer dir. Magne Oestlyngen <ml@skybert.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8615 b3059339-0415-0410-9bf9-f77b7e298cf2
* It shows not just the progressbar, but progressbar /and/ percentagearpi2002-12-281-5/+22
| | | | | | | | | for osd levels 2 and 3, and inaddition it adds a new osd level (3) which also shows total time. patch by seru <seru@gmx.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8613 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch makes subtitle and A-V delays display correctly roundedarpi2002-12-281-2/+3
| | | | | | | | ("3800 ms" instead of "3799 ms" etc). Oskar Liljeblad <oskar@osk.mine.nu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8607 b3059339-0415-0410-9bf9-f77b7e298cf2
* sh_audio==NULL hotfix by Robert Varga <nite@hq.alert.sk>arpi2002-12-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8594 b3059339-0415-0410-9bf9-f77b7e298cf2
* Here is the patch to make vobsub subtitle use -slang option, I have not made aarpi2002-12-231-0/+1
| | | | | | | | | new option for vobsub. Now mplayer will use the setting of slang first, and then langidx from .idx file, if all failed, no sub. patch by hephooey@fastmail.fm git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8536 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch adds support for vertical subtitle alignmentarpi2002-12-231-0/+17
| | | | | | | | | | | | | | | | | | control. Possible values are top, center, and bottom, with bottom being the default. Alignment is relevant when it comes to positioning subtitles with one line (or fewer lines) of text relative to multi-line subtitles. It is implemented as a new command (sub_alignment) that without an argument cycles the alignment (between top, center, and bottom), or with an argument sets the alignment (0 for top, 1 for center, 2 for bottom). The key 'i' is bound to this command. patch by Oskar Liljeblad (oskar@osk.mine.nu) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8535 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merged EDL 0.5 patch - it's something like Quicktime's edit lists.arpi2002-12-231-6/+172
| | | | | | | | (skip sections listed in a text file. it also supports creating them) patch by Michael Halcrow <mah69@email.byu.edu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8532 b3059339-0415-0410-9bf9-f77b7e298cf2
* add a TV_SET_CNANNEL commandhenry2002-12-191-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8495 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fallback to builtin (generated from etc/codecs.conf at compile time)arpi2002-12-151-2/+5
| | | | | | | | codecs.conf if no ext configfile found. Based on patch by Sidik Isani <lksi@cfht.hawaii.edu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8468 b3059339-0415-0410-9bf9-f77b7e298cf2
* notice vo driver about skipped/dropped framesarpi2002-12-141-3/+11
| | | | | | | patch by Alvaro Lopes <alvieboy@alvie.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8451 b3059339-0415-0410-9bf9-f77b7e298cf2
* - fix three submenu bugpontscho2002-12-111-15/+9
| | | | | | | | | | | | | - audio/video track hiding - normal/double/fullscreen handling - dvd audio channel setting bug - fix file/url/vcd/dvd playing - fix variables initialization - some small bug fix - applied some patch from Rüdiger Kuhlmann git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8424 b3059339-0415-0410-9bf9-f77b7e298cf2
* With this patch the text 'Sub position: x/100' is displayedarpi2002-12-051-0/+6
| | | | | | | | | | | | every time you move the subtitles with R and T keys (sub_pos). I find it useful since sometimes when you hold down R and T you have no idea if anything is happening or where the subs are going to show next. patch by Oskar Liljeblad (oskar@osk.mine.nu) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8367 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch makes it possible to navigate among the subtitles whilearpi2002-12-051-0/+5
| | | | | | | | | | | | | | | playing movies. It can be very useful when using desynched subtitles. A new command 'sub_step' is added, which takes an integer argument. 'sub_step +1' will immediately display the next subtitle, adjusting sub_delay as if one had used the 'sub_delay' command to navigate to the subtitle. 'sub_step -1' displays the previous subtitle and adjusts the sub_delay. By using these two commands you can navigate among the subtitles without having to search blindly using 'sub_delay'. patch by Oskar Liljeblad (oskar@osk.mine.nu) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8366 b3059339-0415-0410-9bf9-f77b7e298cf2
* slave-mode commands to get movie length & posarpi2002-12-051-0/+9
| | | | | | | patch by Balatoni Denes <pnis@coder.hu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8365 b3059339-0415-0410-9bf9-f77b7e298cf2
* dump subtitles in SAMI formatarpi2002-12-051-0/+1
| | | | | | | patch by Salvatore Falco <sfalco@studenti.ing.uniroma1.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8364 b3059339-0415-0410-9bf9-f77b7e298cf2
* overlapping subtitles support is now optional, can be disabled (-nooverlapsub)arpi2002-12-051-0/+1
| | | | | | | patch by Salvatore Falco <sfalco@studenti.ing.uniroma1.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8362 b3059339-0415-0410-9bf9-f77b7e298cf2
* dump in JACOsub formatarpi2002-12-041-0/+1
| | | | | | | patch by Salvatore Falco <sfalco@studenti.ing.uniroma1.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8361 b3059339-0415-0410-9bf9-f77b7e298cf2
* - audio track handling in menu (idea from Rüdiger Kuhlmann)pontscho2002-11-291-0/+1
| | | | | | | - some userfriendly changes in menu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8313 b3059339-0415-0410-9bf9-f77b7e298cf2
* add autosync && some 10l bugfixpontscho2002-11-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8312 b3059339-0415-0410-9bf9-f77b7e298cf2
* disabling seek (look the patch)pontscho2002-11-281-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8307 b3059339-0415-0410-9bf9-f77b7e298cf2
* - add Rüdiger Kuhlmann's <mplayer-list-UGa6JdjLujS2@ruediger-kuhlmann.de> patchpontscho2002-11-281-0/+1
| | | | | | | - fix one 10l bug git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8306 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)michael2002-11-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8255 b3059339-0415-0410-9bf9-f77b7e298cf2
* demuxer_control(), percent position and time length query implemented inarpi2002-11-161-0/+1
| | | | | | | | asf, avi, mpeg demuxers. patch by Balatoni Denes <pnis@coder.hu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8209 b3059339-0415-0410-9bf9-f77b7e298cf2
* Experimantal OSD menualbeu2002-11-141-7/+59
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8199 b3059339-0415-0410-9bf9-f77b7e298cf2
* New config system + cleanup of header inter dependencyalbeu2002-11-121-0/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8165 b3059339-0415-0410-9bf9-f77b7e298cf2
* *HUGE* set of compiler warning fixes, unused variables removalarpi2002-11-061-0/+6
| | | | | | | based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
* scale sleep time too (-speed)arpi2002-11-031-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8069 b3059339-0415-0410-9bf9-f77b7e298cf2
* A-V sync cleanup: sh_audio->timer replaced by sh_audio->delay, it containsarpi2002-11-021-13/+13
| | | | | | | | delay relative to sh_video->timer (or to 0 if audioonly). It fixes ct: drifts of very long (several hours) playback. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8057 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanup of .AVI timestamp calculation (ugly hack from mplayer.c removed,arpi2002-11-021-2/+5
| | | | | | | | instead doing it in demux_avi.c, storing private data in priv insteda of demuxer structs) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8031 b3059339-0415-0410-9bf9-f77b7e298cf2
* verbose can be negativearpi2002-11-011-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
* get stream back from the demuxerarpi2002-11-011-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8024 b3059339-0415-0410-9bf9-f77b7e298cf2
* avoids segfaults w.r.t to mp3 files handling:pl2002-10-261-3/+3
| | | | | | | | | hunk1 => mplayer -fps 42 foobar.mp3 (yeah it's a bit dumb but... ;) hunk2 => mplayer *.mp3 + next file + volume increase hunk3 => preventive bugfix git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7924 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixes a segfault when seeking on some mp3 only filespl2002-10-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7907 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow cache to be disabled (-nocache should override cachesize autodetectionarpi2002-10-231-2/+2
| | | | | | | in stream layer) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7882 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanup config option handling in libmpdemux.arpi2002-10-231-2/+2
| | | | | | | | removed overcompilacted m_config_register_options() mess - export the subconfig structs instead git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7868 b3059339-0415-0410-9bf9-f77b7e298cf2
* add -identify switchranma2002-10-231-0/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7865 b3059339-0415-0410-9bf9-f77b7e298cf2
* dvd chapter detect function from Gregory Kovrigapontscho2002-10-221-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7855 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed two typos noticed by Sycotic Smith (I think).diego2002-10-191-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7806 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10Lkmkaplan2002-10-191-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7791 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mplayer can switch between subtitles of different languages duringkmkaplan2002-10-171-0/+20
| | | | | | | playing by press 'j', based on a patch by <hephooey@fastmail.fm>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7781 b3059339-0415-0410-9bf9-f77b7e298cf2
* - dvd aspect changing bug - fixedpontscho2002-10-161-1/+1
| | | | | | | | | - if codec is not found -> sig11 - fixed - pp autoq handling bug - fixed - some warning - fixed git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7752 b3059339-0415-0410-9bf9-f77b7e298cf2
* more accurate a_pts calculation in AVI -bps (default) modearpi2002-10-161-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7750 b3059339-0415-0410-9bf9-f77b7e298cf2
* always use rounded-up blocksize for .avi files (fixes Firestarter.mpg.avi)arpi2002-10-141-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7736 b3059339-0415-0410-9bf9-f77b7e298cf2
* compiler warning fixesarpi2002-10-131-1/+1
| | | | | | | patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7732 b3059339-0415-0410-9bf9-f77b7e298cf2
* _EXPERIMENTAL_ option: -fixed-vo for libvo spec compliance testingarpi2002-10-091-3/+7
| | | | | | | (imho it should NOT be documented yet) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7678 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch adds the functionality to disable/enable subtitles while playingarpi2002-10-061-0/+12
| | | | | | | | | | | | a video. I mapped it to the input-keyword "sub_visibility". This keyword is mapped to the 'v' key on the keyboard. I tested the patch with old-fashioned subtitles, with freetype subtitles and DVD subtitles. Works fine. The patch also includes documentation updates. patch by Uwe.Reder@3SOFT.de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7629 b3059339-0415-0410-9bf9-f77b7e298cf2
* uninit cleanup again... thx to Nilmoni Deb for bugreportarpi2002-10-061-55/+57
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7622 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding -format and -af switchesanders2002-10-061-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7615 b3059339-0415-0410-9bf9-f77b7e298cf2
* new option -speed, to set playback speed rate (examples: -speed 1:3 or -speed 5)arpi2002-10-051-10/+12
| | | | | | | it replaces old -srate behaviour ofor mplayer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7606 b3059339-0415-0410-9bf9-f77b7e298cf2
* aufio filter layer (libaf) integration to libmpcodecs, mplayer and mencoderarpi2002-10-051-10/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7605 b3059339-0415-0410-9bf9-f77b7e298cf2
* add [video||audio]_driver_listpontscho2002-10-021-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7583 b3059339-0415-0410-9bf9-f77b7e298cf2
* new opt: -autosync, controls ao->get_delay() smoothing (default: disabled)arpi2002-10-011-1/+44
| | | | | | | patch by Sidik Isani <lksi@cfht.hawaii.edu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7577 b3059339-0415-0410-9bf9-f77b7e298cf2
* audio out driver list support (example: -ao alsa9,sdl:esd,oss,sdl:oss,)arpi2002-09-291-83/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7564 b3059339-0415-0410-9bf9-f77b7e298cf2
* video out driver list support (like -vc, example: -vo xmga,xv,x11,)arpi2002-09-291-58/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7563 b3059339-0415-0410-9bf9-f77b7e298cf2
* some cleanup - made private vars/funcs static, removed obsolete externsarpi2002-09-291-27/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7560 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed obsolete/unused audio|video_fm|codec, has_audio|videoarpi2002-09-281-8/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7530 b3059339-0415-0410-9bf9-f77b7e298cf2
* - fix new afm/vfm supportpontscho2002-09-281-3/+1
| | | | | | | | - fix fullscreen with xv - add cache support git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7527 b3059339-0415-0410-9bf9-f77b7e298cf2
* -ac/-afm rewrite, now works the same way as -vc/-vfmarpi2002-09-281-3/+5
| | | | | | | including audio codec fallbacks if init failed git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7523 b3059339-0415-0410-9bf9-f77b7e298cf2
* -vf eq2, LUT-based brightness/contrast/gamma correction (Y-only)arpi2002-09-271-0/+34
| | | | | | | by Hampa Hug <hhug@student.ethz.ch> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7518 b3059339-0415-0410-9bf9-f77b7e298cf2
* when working through a mixed play tree with audi-only files and video filesarpi2002-09-271-1/+11
| | | | | | | | | the OSD level is set to 0 when playing an audio-only file. The previous OSD level never gets restored. My small patch handles this. - patch by Reder Uwe <Uwe.Reder@3SOFT.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7517 b3059339-0415-0410-9bf9-f77b7e298cf2
* -vc/-vfm accepts codec/driver _list_ now. empty list element for -vc meansarpi2002-09-261-3/+13
| | | | | | | *, ie search all codecs. codec name starting with - disables the codec. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7507 b3059339-0415-0410-9bf9-f77b7e298cf2
* best audio/video codec selection & init moved to libmpcodecsarpi2002-09-251-68/