summaryrefslogtreecommitdiffstats
path: root/input/input.h
Commit message (Collapse)AuthorAgeFilesLines
* Add separate event input type for terminal+vouau2007-08-251-0/+4
| | | | | | | | | | | Add an input/input.c fd type whose read function takes no arguments and returns no value. If such a function reads key or command events it'll add them to the queues itself. Use this type for terminal input which was special-cased before. The event function for X11-based VOs will use the same type later. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24152 b3059339-0415-0410-9bf9-f77b7e298cf2
* Automatic TV channels scanning ability for MPlayer.voroshil2007-08-231-0/+1
| | | | | | | Code is based on patch from Otvos Attila oattila at chello dot hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24125 b3059339-0415-0410-9bf9-f77b7e298cf2
* Teletext support.voroshil2007-07-291-0/+2
| | | | | | | Part 2/5: options/slaves/configure/definitions/etc git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23920 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a loop command and property.albeu2007-07-091-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23747 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add the sub_scale property and command.albeu2007-07-091-0/+1
| | | | | | | Patch from Anatoli Marinov (anatoli [dot] marinov [at] gmail [dot] com). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23745 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert r23530.voroshil2007-06-211-2/+0
| | | | | | | | | r23530 breaks policy: notification was not sent to mailing list, agreements of other devs were not received. Code also should be reviewed/cleaned up/fixed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23593 b3059339-0415-0410-9bf9-f77b7e298cf2
* The audio balance feature implemented with af_pan.zuxy2007-06-201-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23588 b3059339-0415-0410-9bf9-f77b7e298cf2
* Teletext support for tv:// (v4l and v4l2 only)voroshil2007-06-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | modified patch from Otvos Attila oattila at chello dot hu Module uses zvbi library for all low-level VBI operations (like I/O with vbi device, converting vbi pages into usefull vbi_page stuctures, rendering them into RGB32 images). All teletext related stuff (except properties, slave commands and rendering osd in text mode or RGB32 rendered teletext pages in spu mode) is implemented in tvi_vbi.c New properties: teletext_page - switching between pages teletext_mode - switch between on/off/opaque/transparent modes teletext_format - (currently read-only) allows to get format info (black/white,gray,text) teletext_half_page - trivial zooming (displaying top/bottom half of teletext page) New slave commands: teletext_add_dec - user interface for jumping to any page by editing page number interactively teletext_go_link - goes though links, specified on current page git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23530 b3059339-0415-0410-9bf9-f77b7e298cf2
* implement "bind sections"voroshil2007-06-071-0/+8
| | | | | | | | | | | | | | | allows to bind one input key to several slave commands (independently for each section) as shown below: RIGHT seek +10 RIGHT {tv} tv_step_channel 1 RIGHT {dvdnav} dvdnav 4 Currenlty only "tv" section added. patch by Otvos Attila oattila at chello dot hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23497 b3059339-0415-0410-9bf9-f77b7e298cf2
* New slave command: tv_step_freq <offset in MHz>voroshil2007-03-171-0/+1
| | | | | | | Command sets the TV frequency relative to current value git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22685 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove remnants of the nonfunctional "grab_frames" command.uau2007-02-191-1/+1
| | | | | | | The command has been a no-op for years. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22273 b3059339-0415-0410-9bf9-f77b7e298cf2
* new slave command: radio_step_freqvoroshil2006-11-191-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21058 b3059339-0415-0410-9bf9-f77b7e298cf2
* Introduce step_property command.reimar2006-11-141-0/+1
| | | | | | | Patch by Carl Eugen Hoyos [cehoyos <at> ag or at] with modifications by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20931 b3059339-0415-0410-9bf9-f77b7e298cf2
* introduced new MP_CMD_DVDNAV_MOUSECLICK command (bound to mouse0);nicodvb2006-09-191-0/+1
| | | | | | | | | | it's used to activate the button corresponding to the last mouse position. This is a workaround against possibly buggy implementation of upper_lower/upper_button_select() and friends; will be removed when possible git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19918 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed old dvdnav_event definitionsnicodvb2006-09-191-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19917 b3059339-0415-0410-9bf9-f77b7e298cf2
* report to mplayer with a slave command the coordinates of the pointer ↵nicodvb2006-09-161-0/+1
| | | | | | reported by x11; rescale coordinates to [0,1]x[0,1] range - patch by Jonas Jermann and me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19856 b3059339-0415-0410-9bf9-f77b7e298cf2
* permit to select previous dvdnav menu, in the order chapter->title->rootnicodvb2006-09-101-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19783 b3059339-0415-0410-9bf9-f77b7e298cf2
* Radio support, patch by Vladimir Voroshilov (voroshil gmail com)reimar2006-08-281-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19574 b3059339-0415-0410-9bf9-f77b7e298cf2
* extended slave mode with metadata retrieval commandsben2006-08-261-0/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19539 b3059339-0415-0410-9bf9-f77b7e298cf2
* added new filter option to menu file browser to only display some files ↵ben2006-08-221-0/+1
| | | | | | according to extension git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19497 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add matroska chapter seeking capability.eugeni2006-08-061-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19348 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make EDL compilation unconditionaluau2006-04-271-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18313 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a new command: osd_show_property_text that show an expanded propertyalbeu2006-04-231-0/+1
| | | | | | | | string on the OSD. Based on a patch 'by someone named "veal" on irc' that showed the filename. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18223 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add the new property API and implement a couple properties.albeu2006-03-221-0/+2
| | | | | | | | Move the volume and mute command to the command to property bridge. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17912 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable gui key bindings only when running the gui. Fix enter and escalbeu2006-03-181-1/+1
| | | | | | | not working with a GUI enabled build running w/o GUI. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17891 b3059339-0415-0410-9bf9-f77b7e298cf2
* add a switch, slave command, and vo control to toggle borderless window.joey2005-11-101-0/+1
| | | | | | | includes documentation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16969 b3059339-0415-0410-9bf9-f77b7e298cf2
* add key_down_eventto slave mode, used to inject key down event with ↵nplourde2005-08-311-0/+1
| | | | | | mplayer_put_key git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16324 b3059339-0415-0410-9bf9-f77b7e298cf2
* consume empty lirc events at once.reimar2005-06-271-0/+2
| | | | | | | Patch by Lev A. Melnikovsky {leva at kapitza ras ru}. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15826 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add sub_load and sub_remove slave commands.reimar2005-06-091-0/+2
| | | | | | | 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
* new get_time_pos slave mode commandoreimar2005-05-181-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15505 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added support of audio stream switching in the MPEG demuxer using the #-keygpoirier2005-04-031-0/+1
| | | | | | | | 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
* command to log current subtitle to filehenry2005-02-121-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14685 b3059339-0415-0410-9bf9-f77b7e298cf2
* enable the run slave commande even without libmenuaurel2004-12-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14088 b3059339-0415-0410-9bf9-f77b7e298cf2
* add "pausing" prefix for MPlayer commandsreimar2004-11-201-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13992 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow changing playback speed during playback.reimar2004-10-201-0/+3
| | | | | | | | | Based on patch by Steve Mueller (diffusor <at> ugcs (dot) caltech [dot] edu), OSD support by Frank Schertan (scherthan (at) uni-landau <dot> de), several modifications by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13711 b3059339-0415-0410-9bf9-f77b7e298cf2
* Comment clarified, patch by Sylvain Colinet <scolinet at gmail dot com>.diego2004-10-131-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13635 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow to step only one frame forward by pressing s.reimar2004-10-121-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13627 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not loose commands while paused.reimar2004-10-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13604 b3059339-0415-0410-9bf9-f77b7e298cf2
* slave mode command to switch aspect ratio, patch by Aurelien Jacobs <aurel ↵faust32004-09-151-0/+1
| | | | | | at gnuage.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13340 b3059339-0415-0410-9bf9-f77b7e298cf2
* slave mode command to en/disable vsync, patch by Aurelien Jacobs <aurel at ↵faust32004-09-021-0/+1
| | | | | | gnuage.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13229 b3059339-0415-0410-9bf9-f77b7e298cf2
* added runtime toggle of root window playbackjoey2004-08-221-0/+1
| | | | | | | only directx supports this at the moment git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13092 b3059339-0415-0410-9bf9-f77b7e298cf2
* moved combined vobsub_lang into sub_selectjoey2004-08-221-1/+1
| | | | | | | | | add support for dvd subs and ogg subs into sub_select document sub_select vobsub_lang left as a link to sub_select for backwards compatibility git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13090 b3059339-0415-0410-9bf9-f77b7e298cf2
* individual sub_select option not interferring with vobsub_langalex2004-07-171-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12842 b3059339-0415-0410-9bf9-f77b7e298cf2
* occured --> occurred typo patch by Clinton Roy <croy@dstc.edu.au>diego2003-12-241-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11679 b3059339-0415-0410-9bf9-f77b7e298cf2
* runtime 'stay-on-top' functionalityjoey2003-11-301-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11543 b3059339-0415-0410-9bf9-f77b7e298cf2
* Forced subtitles patch by Arne Driescher <driescher@mpi-magdeburg.mpg.de>attila2003-09-211-0/+1
| | | | | | | | | | | | | | | | | | | | | 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/+2
| | | | | | Mike Swieton <swietonm at student.gvsu.edu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10885 b3059339-0415-0410-9bf9-f77b7e298cf2
* spelling cosmeticsdiego2003-09-141-22/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10868 b3059339-0415-0410-9bf9-f77b7e298cf2
* reverse of accidently twice commited patch (non-unified patch suxx)gabucino2003-08-121-4/+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/+4
| | | | | | | | | 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/+4
| | | | | | | | | | | | 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
* dvbin fix by Nico <nsabbi@libero.it>alex2003-08-111-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10569 b3059339-0415-0410-9bf9-f77b7e298cf2
* I'd like to change tv tuner frequency in the slave mode. So this patchgabucino2003-08-041-0/+2
| | | | | | | | | 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
* new slave mode command to show text via osd, patch by Lars Gemeinhardt ↵faust32003-05-171-0/+1
| | | | | | <lars.gemeinhardt at searchbroker.de> (reviewed by albeu) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10117 b3059339-0415-0410-9bf9-f77b7e298cf2
* user friendly channel tuning + 10L fix in tvi_v4l (by Stephane Jourdois)henry2002-12-281-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8628 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch adds support for vertical subtitle alignmentarpi2002-12-231-0/+1
| | | | | | | | | | | | | | | | | | 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-0/+4
| | | | | | | | (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/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8495 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch makes it possible to navigate among the subtitles whilearpi2002-12-051-0/+1
| | | | | | | | | | | | | | | 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/+2
| | | | | | | patch by Balatoni Denes <pnis@coder.hu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8365 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add quoting support for string arguments (fix loading of file with space inalbeu2002-11-181-0/+1
| | | | | | | 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
* Add the possibilty to grab the keys and to filter the commandsalbeu2002-11-141-0/+20
| | | | | | | Add the commands for the osd menu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8197 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reverse Arpi's commit and put the right fix in place.albeu2002-10-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7913 b3059339-0415-0410-9bf9-f77b7e298cf2
* mpdemux.c|h moved to libinput, mpdemux_check_interrupt() -> ↵arpi2002-10-231-0/+5
| | | | | | mp_input_check_interrupt() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7863 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mplayer can switch between subtitles of different languages duringkmkaplan2002-10-171-0/+1
| | | | | | | playing by press 'j', by <hephooey@fastmail.fm>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7780 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch adds the functionality to disable/enable subtitles while playingarpi2002-10-061-0/+1
| | | | | | | | | | | | 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
* -vf eq2, LUT-based brightness/contrast/gamma correction (Y-only)arpi2002-09-271-0/+1
|