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
e142bbab88
Fix memory leak, reported by Andrew Calkin <andrew P calkin A gmail P com>.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25374 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-12 05:39:17 +00:00
ulion
88fa6508c9
Remove headers not used.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25373 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-12 05:30:59 +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
03607113cb
Fix mylstat() call to parent dir where the subdir has no exec permission.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25339 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 14:12:40 +00:00
ulion
7607259ea4
Combine common code for dealing with file action and dir action.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25328 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-09 10:32:05 +00:00
ulion
af43903635
Use recorded last path only when stat it ok.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25327 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-09 07:50:37 +00:00
ben
486e5b2c2b
identifiers starting with an underscore are reserved by the C standard
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25325 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-08 23:21:08 +00:00
ben
b4052eae79
rework of libmenu open_dir()
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25323 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-08 16:27:25 +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
reimar
844c8ffc48
Mark several uses of vo_functions_t as const to stop some of the current
...
hacks e.g. in vidix code from spreading.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25247 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 14:24:23 +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
88f37769f2
Fix code to make sure the browse starting path within the menu-chroot path.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25162 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-26 00:28:05 +00:00
ulion
8db062d683
Remove the pause filter and the cmd queue hack, to know the mplayer going to
...
pause by checking mpctx directly. If there's any video update before the pause
then capture the frame or fallback to use last captured frame as pausing frame.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25054 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-15 01:07:56 +00:00
ulion
4ab4cd3dcd
Make page up and down with proper page size instead of always 10 rows.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25007 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-10 02:01:41 +00:00
ulion
e573695a08
Fix pause key problem in correct way, only handle pause cmd when showing menu.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24988 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-08 05:41:26 +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
reimar
40a4f3c7c6
Fix link to email explaining the paused vf_menu behaviour change
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24957 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-03 16:22:45 +00:00
cehoyos
f2dee327b2
Move alloc_mpi and copy_mpi from libmenu/vf_menu.c to libmpcodecs/mp_image.c.
...
Patch by Attila Ötvös.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24014 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-04 22:12:49 +00:00
diego
cc95003d5f
Give message string a more meaningful name.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23894 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-28 17:16:55 +00:00
diego
5596a37bc1
typo fix: childs --> children
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23891 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-28 14:27:04 +00:00
reimar
5d02058b47
Do not use fast_memcpy for small size copy, esp. when the size is constant
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23476 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 15:09:49 +00:00
reimar
6a09e8e2ed
Replace implicit use of fast_memcpy via macro by explicit use to allow
...
for future optimization.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 14:27:54 +00:00
albeu
78bbfea7f2
Drop the metadata stuff and replace it with generic property string expansion.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23416 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-30 07:07:32 +00:00
albeu
1654c2bd80
Rework the property API to allow sub properties such as
...
metadata/title, etc.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23411 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-29 21:49:39 +00:00
ben
c31274e8b4
new -menu-chroot option that prevent OSD file selection menu to go to an unwanted location (yeah, chroot ;-))
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23409 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-29 18:49:38 +00:00
ben
7755598a5a
allow left key command to close text menus too
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23385 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-25 16:31:16 +00:00
ben
32012ea3bc
rename some menu open functions, to avoid confusion with libc native open()
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23384 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-25 10:26:39 +00:00
ben
194fc1b15b
add new -subfont option, that allows having a different font for OSD (controls and menu) and subtitles
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23356 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-20 16:10:45 +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
db48d5baff
new -menu-keepdir option that allows libmenu file browser to always restart browsing from the last place we were instead of current dir
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23247 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 16:46:24 +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
diego
5519d98983
cosmetics: Fix indentation, reorder some lines for consistency.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22549 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 21:55:23 +00:00
diego
60b39e2786
Give more descriptive names to the source and library variables and split
...
between common, MPlayer-specific and MEncoder-specific parts.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22546 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 12:10:57 +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
f4738068b0
fix identation, broken by last commit
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21943 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-16 13:28:22 +00:00
gpoirier
7c450c5275
speeds up mplayer execution by over FIVE times when all of the of the following apply:
...
* menus are enabled
* menus are enabled but not displayed
* direct rendering is in use
Patch by Adam Sulmicki % adam A cfar P umd P edu %
Original thread:
date: Jan 7, 2007 11:07 PM
subject: [MPlayer-dev-eng] [PATCH] slow menus : try two
Other threads:
date: Jan 7, 2007 12:39 PM
subject: [MPlayer-advusers] [patch] slow menus
Also:
date: Jan 6, 2007 11:13 PM
subject: [MPlayer-advusers] [patch] slow menus
And:
date: Jan 2, 2007 11:46 PM
subject: [MPlayer-advusers] slow down with menu off
Finaly:
date: Dec 24, 2006 11:25 AM
subject: [MPlayer-users] slow down with menu off
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21942 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-16 13:24:03 +00:00
gpoirier
5ddf53dde6
woops, actually fix URL this time
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21836 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-06 13:31:16 +00:00
gpoirier
190ea55d2e
update comment url
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21831 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-06 10:07:45 +00:00
ben
fde73bb200
allows OSD menu to be displayed when using MPEG PES video out
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21821 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-04 16:46:15 +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
diego
2a86b5b99e
FFmpeg-style dependency declaration
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21325 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 13:42:36 +00:00
diego
dc2be42703
Merge common parts of all Makefiles into one file included by all.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21275 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 18:12:36 +00:00
diego
27b0177662
Remove superfluous comment.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21222 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 16:12:36 +00:00