Commit Graph

69 Commits

Author SHA1 Message Date
arpi 68ea3c85ba - 10l fix: it exited with return MP_INPUT_NOTHING; if all fd's have
MP_FD_NO_SELECT set!
- moved time_val stuff into if(n>0), also changed misleading while(n>0) to
  while(1) (as the loop never touch n)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9735 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-29 21:52:08 +00:00
arpi 7ff83a7181 linux->osdep
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9381 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-09 20:18:23 +00:00
arpi 2b7d9fb595 use 'a' for subtitle aligment instead for useless gui aboutbox
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8922 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-12 18:56:48 +00:00
henry 29ab7de580 user friendly channel tuning + 10L fix in tvi_v4l (by Stephane Jourdois)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8628 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 22:57:39 +00:00
arpi 725ff339e7 This patch adds support for vertical subtitle alignment
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
2002-12-23 01:37:43 +00:00
arpi 7f1c583447 Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
(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
2002-12-23 00:33:22 +00:00
henry bfddb0aa03 add a TV_SET_CNANNEL command
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8495 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-19 10:09:43 +00:00
arpi 05802842c9 This patch makes it possible to navigate among the subtitles while
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
2002-12-05 00:15:56 +00:00
arpi 1d94bbed7d slave-mode commands to get movie length & pos
patch by Balatoni Denes <pnis@coder.hu>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8365 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-05 00:11:12 +00:00
atmos4 6dc1b1fd0c 10l my last fix choked the last command definition, this fix seems to work correct.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8276 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-25 14:17:15 +00:00
atmos4 6f68af6208 Fix endless-loop if no newline at input.conf EOF
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8275 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-25 13:28:40 +00:00
michael 01c201dbe8 warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8255 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-23 10:58:14 +00:00
albeu 32b44ba835 Add quoting support for string arguments (fix loading of file with space in
the name) and add a new command for the console


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8226 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-18 00:11:56 +00:00
albeu 54e31581a3 Add the possibilty to grab the keys and to filter the commands
Add the commands for the osd menu


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8197 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-14 23:41:44 +00:00
albeu 126725660d New config system + cleanup of header inter dependency
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8165 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-12 01:56:42 +00:00
albeu f8ce5ab876 Reverse Arpi's commit and put the right fix in place.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7913 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-25 16:06:25 +00:00
arpi 16fca14336 better error handling
based on patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7912 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-25 14:58:30 +00:00
arpi 288e2a0f4e rewrote the lirc code to remove the fork
patch by Albeu


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7884 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 22:23:12 +00:00
arpi 4aeac332f6 Fixed a bug in MPlayer which would prevent proper parsing of
some floating point options when the locale used has a decimal point
other than the dot character (".").
My patch inserts calls to setlocale around float parsing functions strtod()
and atof() in cfgparser.c and input/input.c.
patch by Aleksander Adamowski <olo@altkom.com.pl>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7871 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 17:42:12 +00:00
arpi bf3c311ee8 mpdemux.c|h moved to libinput, mpdemux_check_interrupt() -> mp_input_check_interrupt()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7863 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 14:46:20 +00:00
albeu 46e4e38d5b New feature to let mplayer read commands from a file. Mostly
useful with a fifo. Turn it one with -input file=/path/.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7841 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-22 14:32:17 +00:00
kmkaplan f820293e0c Mplayer can switch between subtitles of different languages during
playing by press 'j', by <hephooey@fastmail.fm>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7780 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-17 15:41:20 +00:00
arpi ce587559f7 This patch adds the functionality to disable/enable subtitles while playing
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
2002-10-06 17:40:51 +00:00
arpi 0bcbbd8705 -vf eq2, LUT-based brightness/contrast/gamma correction (Y-only)
by Hampa Hug <hhug@student.ethz.ch>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7518 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-27 21:08:36 +00:00
alex 0b03ca9d27 removed old input code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7112 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-28 15:55:58 +00:00
arpi 0f4a3c14c3 new slave volume command done :
"volume <x> <abs 0|1>"
where :
        abs optionnal,
                0 : relative, x > 0 increase else decrease
                1 : static, x = volume, 0 to 100

for sofware plugin, remember to / 2.55 before commiting

patch by "j.a.l" <j.a.l@free.fr>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7056 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-21 20:44:29 +00:00
kmkaplan 2f98400294 Add the input command "change_rectangle" to control the rectangle
plugin boundaries.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6889 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-04 02:22:27 +00:00
albeu 06693273a4 Add loadfile and loadlist commands. May be buggy if the filename contain some
spaces.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6819 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-26 21:26:39 +00:00
albeu d80e0a04b8 10L bugs founds by Jindrich Makovicka <makovicki at KMLinux dot fjfi dot cvuti dot cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6758 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-20 14:26:38 +00:00
albeu 1be8d376dd Fix after the patch of Dominik Mierzejewski. Try the user's input.conf
before the global one.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6552 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-24 12:17:23 +00:00
atmos4 e3f40cf939 Patch by Dominik Mierzejewski:
The first one makes CONFDIR work correctly at last
and the second adds DESTDIR to ./configure, so that it generates
a relocateable Makefile and then a packager needs only to do
make DESTDIR=$RPM_BUILD_ROOT install


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6546 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-24 08:23:48 +00:00
albeu d7baf0c2ae 10L forgot to close input.conf fd
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6464 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-19 16:41:38 +00:00
albeu 86a87de590 Add support for hex key code in input.conf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6395 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-12 10:39:04 +00:00
pontscho 08b4af80fa add mute support ( step 1 ) and fixed panscan bugs (1000l for me)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6312 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-06 07:13:57 +00:00
arpi e598b63ddc pan&scan support with -vo xv by ?? <mplayer@svennevid.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6305 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-04 20:17:07 +00:00
pontscho 0a581e3bf3 fix two small bug and add multimedia keyboard support ( i tested with Acer AirKey V only )
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6184 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-25 09:46:37 +00:00
arpi c835270280 big cosmetics patch, cleanup of messages printed by mplayer and libs.
some printf->mp_msg conversion, and some debug messages moved from warn/info to v/dbg2
mplayer's output is now shorter, readable and consistent


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6139 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-20 03:25:26 +00:00
albeu b336997d66 Add the forgoten scrennshot command
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6113 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-18 00:11:43 +00:00
albeu dbbd2241ad Added -input js-dev xx option to specifies the joystick device to use.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5723 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-20 08:51:09 +00:00
albeu 90bfc582ca Fix the bug pointed out by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
wich affected command driven input (lirc and slave mode).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5572 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-12 10:17:24 +00:00
arpi dc9a81d1a9 dvdnav event added, queue size 10->100, added void* event arg type - dvdnav patch by Kees Cook <mplayer@outflux.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5474 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-03 17:58:17 +00:00
arpi 5475823f41 DVDnav support patch by David Holm and Kees Cook <mplayer@outflux.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5381 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-28 20:40:21 +00:00
albeu aa655ff797 Added options -input keylist and -input cmdlist to list all know
keys and commands


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5219 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-20 13:30:57 +00:00
albeu fec8222337 10L bug fix. Thx to Fredrik Kuivinen <freku045@student.liu.se>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5201 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-19 18:27:54 +00:00
albeu ee8f3bc33d A bug fix in the auto-repeat stuff + moved all printf to mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5199 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-19 13:30:16 +00:00
albeu ecc9aff200 1L : removed redondant enter key binding
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5138 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-16 16:57:35 +00:00
gabucino 7ecf1d87b0 ENTER now quits after last file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5137 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-16 16:47:35 +00:00
albeu 82d7a7a8f3 Now enter key quit if no next file is avaible
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5136 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-16 16:36:32 +00:00
pontscho d06ef6e4ec small changes in event handling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5062 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-13 10:59:20 +00:00
alex 5b6fefd246 lexical fixes (COSMETIC :)) and one 'real fix': grap_frames -> grab_frames -- feel free to flame and reverse
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5054 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-12 12:04:40 +00:00