1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-12 09:59:44 +00:00
Commit Graph

25534 Commits

Author SHA1 Message Date
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
diego
8a00a66de3 Replace some more broken SYS_DARWIN preprocessor conditionals with __APPLE__.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25425 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-16 23:50:05 +00:00
ulion
973a0844aa Should not change stream->pos in fill_buffer function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25424 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-16 16:39:10 +00:00
diego
8cabd00567 cosmetics: reformatting
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25423 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-16 16:37:33 +00:00
diego
9817a00711 There are no special rules for commits to the build system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25422 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-16 16:29:25 +00:00
ulion
6277b4387f Support cddb on darwin.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25421 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-16 11:31:52 +00:00
ben
1abce87cbe make libass use sub_font_name whenever it's possible
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25420 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-16 11:13:24 +00:00
gpoirier
85ff1e17e5 sync w/ r25389 (up-to-date!!)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25419 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-16 09:59:20 +00:00
gpoirier
ee80c32962 sync w/r25315
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25418 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-16 09:26:13 +00:00
nicodvb
1fd25fed63 10l, in dvb_free_config() channels' names must be free individually
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25417 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-15 21:06:58 +00:00
ben
e25991774e cosmetic: indent after r25415
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25416 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-15 19:17:36 +00:00
ben
1fd811a487 do not override *file_format if already set by asf_streaming_start()
ASX files containing a playlist were probably not playable at all.

Fixes playback of the following:
http://www.impek.com/go/oldcartoontv/wm
http://www.impek.tv/go/soul/wm
http://www.impek.com/go/tropical2/wm
http://www.impek.com/go/mizik/wm


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25415 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-15 19:16:49 +00:00
reimar
8f186a3535 pa_stream_write reportedly needs locking of the main loop
(could not find official documentation on this subject...)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25414 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-15 17:10:06 +00:00
reimar
65792a201f Fix indentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25413 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-15 17:07:40 +00:00
reimar
8778005565 Remove pointless pa_stream_trigger call
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25412 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-15 17:06:59 +00:00