1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 18:42:09 +00:00
Commit Graph

50 Commits

Author SHA1 Message Date
diego
ea6c00a4b6 Add standard GPL headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28147 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-13 18:40:19 +00:00
diego
091d352d06 Rename font-related preprocessor directives.
Switch them from a HAVE_ to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27425 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 10:36:07 +00:00
diego
02135001b4 Change a bunch of video/audio-output-specific preprocessor directives from
a HAVE_ prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27402 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 15:21:40 +00:00
diego
d17f9943af Rename some preprocessor directives from CONFIG_* to HAVE_* where appropriate;
CONFIG_ prefix for configurable options, HAVE_ for system-dependent stuff.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27391 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-01 20:28:58 +00:00
diego
4b141479da Start unifying names of internal preprocessor directives.
Replace all USE_ prefixes by CONFIG_ prefixes to indicate
options which are configurable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 12:01:30 +00:00
diego
77eb726c3d Remove pointless #ifdefs around extern declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26039 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-20 08:51:53 +00:00
ulion
b6870cc5ba From now on, libmenu does not steal all input keys from input modules.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25530 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-26 13:13:48 +00:00
ulion
673246be0c OSD menu support mouse selection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25489 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 06:14:38 +00:00
ulion
5fdfc9124d Calculate and draw osd accurately.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25462 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-19 09:34:28 +00:00
ulion
cccac8fa2a Fix the menu uninit function name.
NOTE: Nobody call this function by now, should be fixed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25448 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-18 10:45:43 +00:00
ulion
ab7d5a37ad Fix indent for last commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25437 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 15:01:14 +00:00
ulion
2f0d486430 Ignore elements of keybindings other than 'binding'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25436 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 14:58:46 +00:00
ulion
5ff065269c Remove NO_REPEAT mask from keycode, fix keycode matching for JOY_BTN0, etc.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25435 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 14:55:45 +00:00
ulion
914c5bb994 Display parsed keycode in verbose output.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25434 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 14:53:38 +00:00
ulion
e9c921bbe1 Support chapter in OSD menu.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25392 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-14 08:39:45 +00:00
ulion
9fc4150e7d Fix memory leak. I thought asx_get_attrib() return a const char *,
but indeed it return string by strdup.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25375 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-12 06:32:54 +00:00
ulion
eb7b516694 Support to run multiple mplayer commands set in menu.conf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25348 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-11 08:11:21 +00:00
ulion
a986e2a1f6 Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
by menu config file.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25291 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-04 10:42:59 +00:00
ulion
7a11248973 Add type info to menu_t, now we can get the menu name and the type name of menu.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25236 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 11:14:50 +00:00
ulion
311e30c11a Warning fixes:
menu.c:303: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
menu.c:370: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
menu.c:463: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
menu.c:537: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
menu.c:565: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
menu.c:577: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
menu.c:597: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
menu.c:612: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24968 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-05 02:45:59 +00:00
ben
b0615f0024 get rid of -menu-utf8 and -menu-unicode once for all, patch by Guillaume Lecerf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23355 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-20 15:17:56 +00:00
ben
ee8969021b fix libmenu compilation with fridibi enabled
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23256 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 20:45:23 +00:00
ben
61ead76aad cast to what's really expected
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23255 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 19:48:15 +00:00
ben
0600d0b117 use already existing function to get utf8 char in libmenu (thx to reimar)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23250 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 17:02:42 +00:00
ben
a2e997c155 used FFMAX macro as pointed out by reimar
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23249 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 16:51:53 +00:00
ben
a797b105f3 removed useless casts as pointed out by reimar
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23248 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 16:48:55 +00:00
ben
0e71ae2f5f support for hebrew through fribidi in libmenu (geexbox patch #580)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23246 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 15:59:53 +00:00
ben
7796893de0 support for unicode/utf8 in libmenu (geexbox patch #545)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23245 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 15:55:58 +00:00
uau
00b3c78196 Fix menu to work with mpctx
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22302 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-21 18:28:48 +00:00
gpoirier
1c88c0fce4 fix gprof support (aka work around gprof's brain dead design)
as stated here: http://sourceware.org/binutils/docs-2.17/gprof/Implementation.html
mcount() is a symbol reserved by gprof to perform instrumentation, so we shouldn't declare a symbol that has this name
Fixes issue discussed here:
date: Jan 3, 2007 3:17 PM
subject: [MPlayer-advusers] gcc, mplayer and profile (mcount)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21815 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-04 16:00:27 +00:00
reimar
a755d9a831 Fix possible crash: negative values may no be passed to render_one_glyph
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20523 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 21:52:26 +00:00
diego
77b4259600 Explicitly include libmpcodecs/img_format.h and libvo/fastmemcpy.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19437 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-18 13:58:03 +00:00
ben
49867bd432 introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19277 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-31 17:39:17 +00:00
albeu
22f7791e6c There is a draw_alpha for uyvy, use it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18195 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-22 17:04:38 +00:00
albeu
ced4a23f8d Fix menu background drawing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18194 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-22 16:22:33 +00:00
reynaldo
bf25812a43 Part1 of several printf2mp_msg changes in patch from Otvos Attila oattila AT chello DOT hu
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17995 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-30 06:40:58 +00:00
albeu
9c301c3e16 Add a function to draw flat boxes and use it to make the list
menu and console look much cooler. Idea take from Otvos Atilla's
patches (oattila_At_chello--.--hu).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17994 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-30 02:52:54 +00:00
albeu
0e38597ae8 Allow 6 ways (up/down/left/right/ok/cancel) navigation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17946 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-25 17:32:10 +00:00
diego
5aba6c3cfd Unify include paths, -I.. is in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16863 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-26 00:07:43 +00:00
albeu
017eaef61a Finnaly commit Nico's dvb menu. Sorry for committing this
months later :(


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10627 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-16 09:51:05 +00:00
diego
8838b4afa6 output typo fixes: unknow --> unknown
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10398 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-09 01:30:24 +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
95d4edb1b0 Fixes a problem where the menu won't work, if you just use freetype fonts
and have no font.desc.
patch by Andreas Hess <jaska@gmx.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9213 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-02 01:43:40 +00:00
arpi
db1e3c66af mplayer crashes if one tries to use osd menu without having a font
installed. The patch to menu.c is one way to fix that.
patch by Björn Sandell <biorn@dce.chalmers.se>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9104 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-26 16:02:58 +00:00
arpi
cfa30a8b32 This patch fixes the reading of the menu.conf, because stream_open()
isn't a good idea, it messes with dvd playback.
Andreas Hess <jaska@gmx.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8605 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 13:46:55 +00:00
colin
1344f05cba better fix for my previous 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8252 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-22 12:01:59 +00:00
colin
cb0010d072 10l - forgot this file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8246 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-21 19:26:57 +00:00
albeu
30751c6025 Fix buffer overflow in a drawing func
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8233 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-18 20:43:29 +00:00
albeu
dc7759b0a8 Fix freetype. Freetype is highly recommended for a nice output ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8225 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-18 00:09:37 +00:00
albeu
c83ebc0b7d OSD menus initial version
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8198 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-14 23:47:11 +00:00