summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move input options to option structUoti Urpala2008-04-306-41/+62
|
* options: Make dynamic dup hack work with new optionsUoti Urpala2008-04-301-4/+7
| | | | | | | | The option system has a hack that converts default values (potentially constants) of dynamically allocated options to allocated ones when the options are first added to the config system, so that all values can be equally freed later. Make this work with new-style options in the option struct too.
* m_config.c: Cosmetics: fix nested block lacking indentationUoti Urpala2008-04-301-16/+17
|
* input: Use talloc for struct mp_cmd and things under itUoti Urpala2008-04-301-28/+12
|
* input: Move command filedescriptor list to context structUoti Urpala2008-04-303-30/+35
|
* input: Move cmd_queue to context structUoti Urpala2008-04-3016-46/+57
| | | | Menu instances now also need a input context pointer to queue commands.
* input.c: Change a static variable to localUoti Urpala2008-04-301-14/+16
|
* input: Move key filedescriptor list to context structUoti Urpala2008-04-306-39/+53
| | | | | The context variable is now passed to VOs too as it's now needed to add a callback on the X filedescriptor.
* input.c: Move variable from static to localUoti Urpala2008-04-301-2/+1
|
* input.c: Move key down state to context structUoti Urpala2008-04-301-33/+36
|
* input.c: Use talloc for command bind allocationsUoti Urpala2008-04-301-31/+11
|
* input.[ch]: Move some type definitions from .h to .cUoti Urpala2008-04-302-10/+10
| | | | These aren't used outside input.c.
* input.c: Remove mp_input_ prefixes from static function namesUoti Urpala2008-04-301-60/+58
| | | | The prefixes make the code unnecessarily verbose for no real benefit.
* input.c: Make two functions staticUoti Urpala2008-04-301-3/+3
|
* Remove INITIALIZED_INPUT from mpctx->initialized_flagsUoti Urpala2008-04-303-14/+12
| | | | | The input functions are never uninited except at exit. Move the uninit to player exit function and remove the flag.
* input: Move command bind variables to context structUoti Urpala2008-04-304-62/+73
|
* Create a context for input.c stateUoti Urpala2008-04-306-59/+80
| | | | | | | | | Start moving static variables to a context struct. Only autorepeat state is moved to the struct in this commit. mp_input_check_interrupt now requires the context variable. Change stream functions to pass it. It's still stored in a static variable in stream/.
* mencoder.c: Remove unused functionUoti Urpala2008-04-301-5/+0
| | | | | | mp_check_interrupt_callback should have been removed when stream_set_interrupt_callback was added as stream no longer requires the symbol.
* input.c: Remove _st prefix from struct namesUoti Urpala2008-04-301-4/+4
|
* Merge svn changes up to r26599Uoti Urpala2008-04-305-66/+73
|\
| * Move CFLAGS setting to configure.diego2008-04-292-2/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26599 b3059339-0415-0410-9bf9-f77b7e298cf2
| * change cvs > svncompn2008-04-291-2/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26598 b3059339-0415-0410-9bf9-f77b7e298cf2
| * add info lines to ffmimic, ffkmvc. fixes codec-status table.compn2008-04-291-0/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26597 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Link tools against mp_msg-mencoder.o instead of mp_msg.o.diego2008-04-291-1/+1
| | | | | | | | | | | | | | The latter may depend on the GUI and cause link failures. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26596 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Merge mpcommon.mak into Makefile.diego2008-04-292-30/+28
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26595 b3059339-0415-0410-9bf9-f77b7e298cf2
| * cosmetics: Move version.h/help_mp.h generation rules to a better place.diego2008-04-291-22/+22
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26594 b3059339-0415-0410-9bf9-f77b7e298cf2
| * 10l: Add missing \ for line continuation.diego2008-04-291-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26593 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Do not rebuild version.h at every Makefile change.diego2008-04-291-2/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26592 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Convert clean/distclean into non-recursive targets.diego2008-04-291-3/+14
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26591 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove generated headers and generated helper binaries only on distclean.diego2008-04-291-4/+5
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26590 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove unnecessary dependency declaration.diego2008-04-291-2/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26589 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Merge nearly identical SRCS_COMMON lines.diego2008-04-291-3/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26588 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Move allocation/free of x11 struct to x11_common.cUoti Urpala2008-04-293-4/+7
| | | | | | | | Allocate the struct in the init function and free in uninit.
* | Mark option -key-fifo-size globalUoti Urpala2008-04-291-1/+1
| | | | | | | | | | | | | | The fifo is only allocated once and not resized later. After the previous commit trying to change it for later files would have no effect. With older code it could cause memory corruption if you set the option to a value larger than the already allocated size.
* | Move key_fifo_size & doubleclick_time to options structUoti Urpala2008-04-296-13/+16
| |
* | Add a context for mp_fifoUoti Urpala2008-04-2915-160/+192
| | | | | | | | | | Store data in an allocated context and take it as an argument instead of using static variables.
* | mp_fifo.c, osdep/: Include corresponding .h in .c filesUoti Urpala2008-04-296-0/+9
| |
* | vo_macosx: Include header instead of "extern ..."Uoti Urpala2008-04-291-2/+1
| |
* | vo_macosx.m: Fix compilation after recent changesUoti Urpala2008-04-291-2/+1
| | | | | | | | This .m file had not been updated during other VO changes.
* | input.c: Use union instead of void *Uoti Urpala2008-04-291-6/+9
| |
* | input: Remove separate mp_input_add_event_fdUoti Urpala2008-04-2910-63/+29
| | | | | | | | | | | | | | | | Use the same mp_input_add_key_fd for all uses and add a context argument to its callback that was before only in the event fd callbacks. Instead of checking in input.c whether keys were inserted to the keypress FIFO during the callback do the check in the callback before returning and set return value accordingly.
* | input.c: Revert code uglifications done for gcc 2.95Uoti Urpala2008-04-291-9/+5
| | | | | | | | | | | | It's unlikely that this branch will ever compile with gcc 2.95 again, so it's pointless to keep code uglifications done to work around its limitations.
* | input.c: Remove unnecessary #include "osdep/getch2.h"Uoti Urpala2008-04-291-1/+0
| |
* | Makefile: Fix RECURSIVE_RULE with nested subdirectoriesUoti Urpala2008-04-291-1/+1
| | | | | | | | | | | | | | The rule produces dependencies for .a files in subdirectories. After moving FFmpeg subdirectories under ffmpeg/ "$(part)/$(part).a:" gave results like "ffmpeg/libavutil/ffmpeg/libavutil.a:". Fix it to produce "ffmpeg/libavutil/libavutil.a".
* | Merge svn changes up to r26587Uoti Urpala2008-04-2923-207/+88
|\| | | | | | | | | | | | | | | Conflicts: Makefile configure osdep/timer-darwin.c
| * Get rid of now obsolete library rules and variables.diego2008-04-282-17/+3
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26587 b3059339-0415-0410-9bf9-f77b7e298cf2
| * cosmetics: Reorder commands in (dist)clean targets.diego2008-04-281-3/+3
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26586 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove '-' prefix from 'rm -f' commands for consistency.diego2008-04-281-2/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26585 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Mark phony checkheaders target as such.diego2008-04-281-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26584 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Merge now redundant clean and distclean rules into the top-level Makefile.diego2008-04-282-9/+4
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26583 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Force to uint64_t first to avoid direct conversion from double to unsigned int.ulion2008-04-281-4/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26582 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove code for .depend generation, inclusion and related hacks.diego2008-04-282-13/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26581 b3059339-0415-0410-9bf9-f77b7e298cf2
| * .depend should no longer be ignored.diego2008-04-280-0/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26580 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Run 'make depend', not 'make .depend' in FFmpeg subdirectories.diego2008-04-281-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26579 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove unnecessary CFLAGS hack.diego2008-04-281-2/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26578 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove unnecessary -I.. from CFLAGS, change -I../libavutil to -Ilibavutil.diego2008-04-281-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26577 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Use consistent #include paths without "../".diego2008-04-289-11/+11
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26576 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Use full path for libavutil #includes.diego2008-04-281-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26575 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Consistently #include mpbswap.h instead of bswap.h everywhere.diego2008-04-284-4/+4
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26574 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Merge loader/Makefile into top-level Makefile.diego2008-04-282-54/+41
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26573 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Restore line mistakenly commented out in the last commit.diego2008-04-281-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26572 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Make sure all autogenerated .h and .c files exist in the vidix subdirectorydiego2008-04-281-2/+5
| | | | | | | | | | | | | | before trying to create object or dependency files there. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26571 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove calls to Restore_LDT_Keeper, exit() is called immediately afterwardsdiego2008-04-282-4/+2
| | | | | | | | | | | | | | anyway. The calls were missing parameters and caused compilation failures. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26570 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add missing ldt_keeper.h #include; this fixes a bunch of implicit declarationdiego2008-04-282-0/+2
| | | | | | | | | | | | | | of function warnings. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26569 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Merge TEST_OBJS and TEST_LDFLAGS.diego2008-04-281-4/+3
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26568 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add -g to CFLAGS, not to LDFLAGS.diego2008-04-281-1/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26567 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Merge test program compilation rules using patterns.diego2008-04-281-4/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26566 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add CFLAGS to test program compilation commands.diego2008-04-281-2/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26565 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add missing ../osdep/mmap_anon.o to TEST_OBJS.diego2008-04-281-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26564 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove unnecessary linker flags.diego2008-04-281-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26563 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add missing #include, fixes the warning:diego2008-04-281-0/+1
| | | | | | | | | | | | | | qtx/qtxload.c:50: warning: implicit declaration of function 'mp_msg_init' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26562 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Adjust printf length modifier, fixes the warning:diego2008-04-281-1/+1
| | | | | | | | | | | | | | qtx/list.c:54: warning: format '%d' expects type 'int', but argument 2 has type 'long int' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26561 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Comment out variables only used in commented-out code, fixes the warnings:diego2008-04-281-2/+2
| | | | | | | | | | | | | | | | qtx/qtxload.c:46: warning: unused variable 'i' qtx/qtxload.c:45: warning: unused variable 'esp' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26560 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Link against individual objects, the osdep library is not generated anymore.diego2008-04-281-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26559 b3059339-0415-0410-9bf