reimar
a3816c913b
Move a variable to where it is used
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25475 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 12:51:24 +00:00
ulion
54cffe9bee
Support send mouse movements commands to mplayer.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25474 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 12:00:44 +00:00
ulion
278692c1bf
Fix stream_cache to use sector_size set in stream_t.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25473 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 11:36:53 +00:00
reimar
77e2ce680b
Move ds->current=NULL; further up to the free_demux_packet.
...
This does not change behaviour in the normal case but avoids
a double-free if the function is aborted via a signal handler.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25472 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 11:21:02 +00:00
ulion
75e3df67ae
Fix comment from unrarlib to unrar_exec
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25471 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 10:41:16 +00:00
ulion
a4c16de071
Remove redundant code since unrarlib was removed.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25470 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 10:40:30 +00:00
reimar
b39d60f8b1
Use tv_sec instead of tv_usec to set 1 second timeout, e.g. NetBSD
...
does not like the current way (bug #858 ).
Patch by Sergey Svishchev [svs ropnet ru].
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25469 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 10:29:44 +00:00
diego
f9455f34d0
Remove internal unrarlib copy, the new unrarexec code is a strict superset.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25468 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 10:10:26 +00:00
benoit
f2281fa06a
Make sure strides have positive values before converting.
...
Patch by Peter Schlaile: peter schlaile de
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25467 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 10:08:36 +00:00
ulion
787801f7a5
Add variable bx, dx to simplify code of function menu_draw_list.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25466 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 07:11:48 +00:00
ulion
bfe3186801
Add local variable 'line_h' to simplify code of function menu_list_draw.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25465 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 02:17:29 +00:00
ulion
50c286342e
Ignore mouse pos command when pausing.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25464 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-19 16:17:26 +00:00
ulion
d7ed78143c
Currently menu title did not align center together with menu items when x>=0.
...
Now fix it to get a good alignment with menu items.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25463 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-19 15:21:27 +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
fafef9cb9d
Make libmenu init and uninit in proper place.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25461 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-19 08:42:18 +00:00
ulion
4a901e4db0
Vobsub support tridx setting in .idx file.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25460 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-19 08:35:40 +00:00
ulion
aaf4c414a6
Use calloc instead of malloc when allocate vobsub_t.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25459 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-19 04:45:45 +00:00
gpoirier
5d12d44a25
sync w/r25455
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25458 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-19 02:18:56 +00:00
ulion
88cd8566b5
Protocol name should be case insensitive.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25457 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-19 01:28:00 +00:00
ulion
8a36c1f6ae
Merge 'Jump to ...' with 'Prev/Next' menu item into one item 'Prev/Next ...'.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25456 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-19 01:21:59 +00:00
diego
db95d5f40e
typo noticed by Paul TT
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25455 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-18 23:37:52 +00:00
rik
b15fe151d6
change license from GPLv2 to 'GPL v2 or later', requested by Diego, I can do that since I wrote the files (based on other stuff from MPlayer (and some external things under GPL v2 or later))
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25454 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-18 21:43:12 +00:00
gpoirier
f61d6fc987
sync w/25440
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25453 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-18 20:37:20 +00:00
ulion
dd0e060027
Use NSMakeRect and NSRect in correct way:
...
The third parameter is width, the fouth parameter is height.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25452 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-18 16:37:36 +00:00
ulion
5f8a2b3700
Fix wrong code in last commit.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25451 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-18 14:58:14 +00:00
ulion
20b1f841a6
Fix mouse button mapping:
...
MOUSE_BTN1 is middle buttion, MOUSE_BTN2 is right button.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25450 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-18 14:48:30 +00:00
ulion
007988abf8
Here should add the minb to x when x>=0 because in later code
...
we use 'x - minb' to draw bg box when x>=0.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25449 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-18 11:54:17 +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
fea0ba733f
Replace another m_struct_t by 'struct m_struct_st' to remove depedency
...
on m_struct.h when include libmenu/menu.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25447 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-18 09:44:54 +00:00
diego
2f7e5f028e
Stop MPlayer from complaining about bogus AviSynth DLL load failures.
...
This was causing major confusion and resulting usability problems.
patch by Jan Knutar, jknutar nic fi
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25446 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-18 09:13:19 +00:00
ulion
1f3ab9672a
Remove dependency on m_struct.h when include libmenu/menu.h.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25445 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-18 04:07:48 +00:00
ulion
6cc3def957
Do not operate on vobsub when no video (Bug #312 ).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25444 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-18 03:33:36 +00:00
ben
b411a839c2
r25345 patched the wrong line.
...
Here's the right fix (100l to me, i deserved them)
Patch by Guillaume Lecerf.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25443 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 19:35:30 +00:00
ulion
891a1f1451
Record screen size and display size in vo_ variables.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25442 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 15:49:54 +00:00
ulion
1c154cd853
screen_frame is only used for fullscreen mode.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25441 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 15:45:37 +00:00
ulion
ae3b0c462c
Fix the expand text's format by the source.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25440 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 15:29:42 +00:00
ulion
fdd52f2f93
Caching toc header in vcd private structure for later use.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25439 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 15:24:40 +00:00
ulion
cc840ba8b2
Add cdda stream control for chapter commmands.
...
Now we support seek cdda/cddb tracks by seek_chapter command.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25438 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 15:20:28 +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
gpoirier
6dda4047ba
mention that the sync is partial
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25433 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 09:56:12 +00:00
gpoirier
3238755e14
partial sync w/r25389, patch by JRaSH %jrash06 A 163 P com%
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25432 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 09:40:33 +00:00
diego
ae39a6457e
cosmetics: Remove trailing whitespace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25431 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 09:02:21 +00:00
ulion
6b51b17c51
Modified for using chapter property for $(NAME:TEXT) or ?(NAME:TEXT).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25430 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 03:42:54 +00:00
ulion
1dc9f8ea08
Fix memory leak.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25429 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 01:20:19 +00:00
ulion
9bfbfd8c4d
The function parameter 'preferred_language' should be const char *.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25428 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 01:06:17 +00:00
diego
92f52e811b
Use correct #include for waitpid, fixes the warning:
...
unrar_exec.c:127: warning: implicit declaration of function 'waitpid'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25427 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-17 00:11:33 +00:00
diego
abb3ce5a5b
Remove useless stray #include.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25426 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-16 23:57:34 +00:00