Commit Graph

111 Commits

Author SHA1 Message Date
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
diego cf4bf03dc2 Unify dep/depend targets.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21096 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-20 11:18:01 +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
reimar 9774de4be4 Handle windows path separator in filesel menu.
Fixes at least partially bug #494


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20521 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 21:10:59 +00:00
ben d9c9a14876 better readability on selected menu item by tweaking alpha channel properties
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19765 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-09 09:07:02 +00:00
ben 000c89175c added new helpers to allow easy metadata retrieval and make libmenu use them
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19538 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-25 23:14:32 +00:00
ben a1d1ee76ba new option for libmenu that allow display of properties and metadata of currently played stream
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19535 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-25 19:22:51 +00:00
ben 7764a187e0 added new filter option to menu file browser to only display some files according to extension
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19497 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-22 20:55:49 +00:00
ben 31b58afd88 support multiple actions in menu's file browser using key bindings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19496 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-22 19:59:53 +00:00
ben 0edb9429c5 fix menu toggle/hide issues
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19495 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-22 19:40:50 +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
diego b02e7924b9 Move all internal -I parameters to the front of CFLAGS to avoid using external
header files that happen to have the same name as internal ones.
based on a patch by Vladislav Naumov, vladislav.naumov **at** gmail **dot** com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19426 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-17 17:19:56 +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
diego 22b5b6d0f5 Unify include paths in the build system, part I.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19195 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-27 10:08:17 +00:00
diego 4f37c50ecd Compilation fix: Mark mp_property_find parameter as const.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19064 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-13 13:04:26 +00:00
diego 2fafc2ae06 Simplify includes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19054 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-12 23:50:29 +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 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
ben c1d46330ea support for auto_close parameter in menu command list (geexbox patch)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18823 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-25 21:24:46 +00:00