Commit Graph

166 Commits

Author SHA1 Message Date
reynaldo 15e8c12de2 marks several strings inside structs as const when they hold just
read-only information and modifies GetLanguage in Gui/mplayer/gtk/menu.c 
to cope which the changes.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19115 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-16 01:40:24 +00:00
diego f7d4dd174b OPTFLAGS already includes EXTRA_INC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19042 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-12 17:58:07 +00:00
reynaldo 132173bbf0 get_path as const, patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18894 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-03 23:27:37 +00:00
reynaldo 8f65768bf2 rm unnecesary casts from void* - part 4
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18890 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-03 13:21:54 +00:00
reynaldo 9d9a15d185 rm unnecesary casts from void* - part 2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18883 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-02 03:59:36 +00:00
reynaldo c71983202c gets ride of a few more sizeof(char)s
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18862 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-30 04:24:07 +00:00
reimar 9e365fd95b Make sure mp_input_read_key_code always sleeps. Avoids 100% CPU load
during cache fill.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18814 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-25 14:03:56 +00:00
diego 4b64ef7e8e Remove now obsolete .cvsignore files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18556 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-02 11:24:33 +00:00
uau 8f30963c37 Make EDL compilation unconditional
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18313 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-27 12:40:29 +00:00
albeu 7c3d8688c7 Align osd_show_text with osd_show_property_text.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18224 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-23 14:48:15 +00:00
albeu 116ca0c768 Add a new command: osd_show_property_text that show an expanded property
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
2006-04-23 14:31:54 +00:00
albeu 63c70fadf2 Handle the tv color control commands with the properties.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18207 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-22 19:29:02 +00:00
diego ce91ea74ce Switch audio delay keys to something more sane (+ to increase, - to decrease)
that happens to also match the documentation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18101 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-15 14:24:36 +00:00
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