Commit Graph

153 Commits

Author SHA1 Message Date
rfelker 12f9bb8946 prevent overflow.. wtf?! from irc:
<@tcsetattr> how many dimensions can people have in a joystick? do you
travel to other universes with that thing?
[apparently more than 10...?!]
(reported on irc by DrewZzz)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18006 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-31 04:56:09 +00:00
albeu 00bc2d2732 Subtitles properties: move sub_select, sub_pos, sub_visibilty,
sub_alignment and sub_forced_only to properties.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17936 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-24 19:32:23 +00:00
albeu efb50daf6e Convert fullscreen, panscan, color controls, ontop, rootwin,
border, framedrop and vsync to properties. Also add a couple
of video related properties like width, height, etc.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17929 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-23 01:22:43 +00:00
albeu e978b9f5a9 Move audio_delay to a property and add a few read only properties to
query samplerate, format, etc.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17926 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-22 23:05:13 +00:00
albeu 7ccf483026 Add the new property API and implement a couple properties.
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
2006-03-22 00:19:02 +00:00
albeu f440a3c1bf Enable gui key bindings only when running the gui. Fix enter and esc
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
2006-03-18 18:13:22 +00:00
reimar 041fea5e84 remove useless cruft (binds variable)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17839 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 21:47:15 +00:00
diego 89d549f984 Make clean/distclean behave uniformly in all directories.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17489 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-27 00:06:42 +00:00
ods15 3c3d7c2039 add "pausing_keep" and "pausing_toggle" input cmd prefixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17242 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-25 19:22:48 +00:00
joey fc3c39033a Add double-click mouse events.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16975 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-11 13:25:48 +00:00
joey 8901ee0b0a add a switch, slave command, and vo control to toggle borderless window.
includes documentation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16969 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-10 22:25:54 +00:00
albeu 374db42e17 libvo input cleanup: remove the dependency on libinput,
remove most of the crappy mappings (like O->o or ESC->q).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16893 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-02 21:50:55 +00:00
diego c67ccd1e8a Unify include paths, -I.. is in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16861 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-25 21:23:45 +00:00
reynaldo 32733b8940 translatable eng strings to new section on help_mp-en
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16857 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-25 18:46:25 +00:00
reynaldo c83813b196 printf to mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16856 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-25 18:45:39 +00:00
diego f7e307ee4d Make a few more messages translatable by moving them into help_mp-en.h.
patch by Paul TT < paultt == at == hackerjournal == dot == it >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16794 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-18 11:11:25 +00:00
reimar 3567bcac06 When compiled with gui, bind ESC to gui_stop so that s is free for screenshot.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16493 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-15 10:25:43 +00:00
nplourde b872f146e1 add key_down_eventto slave mode, used to inject key down event with mplayer_put_key
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16324 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-31 02:15:03 +00:00
reimar 699e0cc67b loadfile/loadlist can now also add files to the playlist
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16228 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-15 08:30:43 +00:00
reimar 9fde502c50 use calloc so that mp_cmd_free won't use uninitialized data in case of an error
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16072 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-23 16:54:45 +00:00
reimar 189e0d00a6 consume empty lirc events at once.
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
2005-06-27 08:16:23 +00:00
reimar 2f376d1b39 Add sub_load and sub_remove slave commands.
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
2005-06-09 20:13:53 +00:00
reimar 2b1bb59996 new get_time_pos slave mode commando
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15505 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-18 11:38:06 +00:00
reimar be54f4813f adds a parameter to the switch_audio command to directly select a track.
Patch by kiriuja mplayer-patches at en-directo net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15286 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-28 14:43:19 +00:00
aurel 87584d10f6 when parsing one cmd argument, only un-escape _this_ argument, not the following ones
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15163 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-15 14:52:33 +00:00
henry e956780cc0 allow sub_select and vobsub_lang to select particular subtitle
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15129 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-11 21:26:14 +00:00
gpoirier 9e909f0dde Added support of audio stream switching in the MPEG demuxer using the #-key
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
2005-04-03 14:08:28 +00:00
reimar f47114f932 Make seek command parameter float.
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
2005-02-17 15:56:25 +00:00
henry 65ad39a096 command to log current subtitle to file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14685 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-12 14:45:54 +00:00
aurel 1ab7d71e31 fix "Unknown argument" with cmd containing spaces
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14682 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-11 11:44:00 +00:00
reimar 6e450282a6 remove all setlocale calls, they break the behaviour of sscanf and
strcasecmp, especially with tr_TR locale - and do not seem to be good for
anything.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14543 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-20 13:22:53 +00:00
reimar 2543b1bf86 Add missing break that caused an irritating error message all the time when using slave mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14326 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-03 13:56:48 +00:00
aurel 543dcc07a5 enable the run slave commande even without libmenu
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14088 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-02 14:37:16 +00:00
reimar 987c740e5f add "pausing" prefix for MPlayer commands
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13992 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-20 10:51:13 +00:00
diego 3ebf6f0135 Reduce excessive verbosity.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13947 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-15 09:09:29 +00:00
faust3 065ea0a359 small memleak fix, based on patch by Wei Jiang <jiangw98@yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13809 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-30 10:40:53 +00:00
reimar 9f64599b8f allow changing playback speed during playback.
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
2004-10-20 20:07:50 +00:00
reimar de4720539a Make '.' key default for framestepping
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13643 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-14 15:33:10 +00:00
diego 9886b77e94 Comment clarified, patch by Sylvain Colinet <scolinet at gmail dot com>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13635 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-13 23:38:11 +00:00
reimar b6cc03ac9b allow to step only one frame forward by pressing s.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13627 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-12 22:10:56 +00:00
reimar 830b241f3f Do not loose commands while paused.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13604 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-10 17:39:07 +00:00
faust3 3616785033 fix a memory corruption and make sure only getch2 handles stdin
in order to avoid delayed events caused by lost input
patch by Mikulas Patocka <mikulas at artax.karlin.mff.cuni.cz>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13346 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-15 14:08:46 +00:00
faust3 c95142bc23 slave mode command to switch aspect ratio, patch by Aurelien Jacobs <aurel at gnuage.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13340 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-15 09:45:34 +00:00
faust3 49c553dc7f quit slave mode command now accepts an exit value, patch by Aurelien Jacobs <aurel at gnuage.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13339 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-15 09:29:10 +00:00
faust3 e27c39844f slave mode command to en/disable vsync, patch by Aurelien Jacobs <aurel at gnuage.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13229 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-02 12:02:06 +00:00
joey 896b8f4c2f added runtime toggle of root window playback
only directx supports this at the moment


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13092 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-22 19:01:56 +00:00
joey 1b8e3babb8 moved combined vobsub_lang into sub_select
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
2004-08-22 18:47:48 +00:00
al 0f6c8c765a Corrected my mistake in the last memfix patch.
Bug was discovered by Shachar Raindel <shacharr@gmail.com>.
The basic patch idea is also from him.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12943 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-03 12:21:14 +00:00
al 8bad258e0d false-use-of-get_path() memleak fixes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12891 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-23 16:10:21 +00:00
alex 5eaa11ba78 individual sub_select option not interferring with vobsub_lang
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12842 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-17 12:47:12 +00:00