1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 12:25:03 +00:00
Commit Graph

25827 Commits

Author SHA1 Message Date
ulion
1c75b1f643 Add copyright info for s/pdif code from VideoLAN.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25504 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 17:33:28 +00:00
diego
c4f9634758 Add missing #include, fixes
compare.c:18: warning: implicit declaration of function ‘exit’
compare.c:18: warning: incompatible implicit declaration of built-in function ‘exit’


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25503 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 17:13:17 +00:00
diego
fdfc6ffdf7 cosmetics: Remove trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25502 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 17:10:09 +00:00
diego
03d9657f10 cosmetics: spelling fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25501 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 17:00:43 +00:00
reimar
37b1d73ae3 Set is_streamed correctly, should make network playback work more reliably.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25500 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 16:23:42 +00:00
reimar
de4908b644 Get rid of URLProtocol mess (especially problematic since it made use
of a non-constant global variable) and use ByteIOContext directly.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25499 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 16:22:54 +00:00
reimar
2b9c02cca0 Typo fix in message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25498 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 16:05:37 +00:00
reimar
4a6fb09a63 Simplify int_fastXY_t test in configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25497 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 15:44:57 +00:00
ulion
28beb7c155 Do not send mouse movements events in root win mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25496 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 14:55:26 +00:00
reimar
2634462d21 Remove useless #ifdefs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25495 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 11:25:59 +00:00
reimar
defbb2a545 Add support for XScreenSaverSuspend
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25494 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 11:09:43 +00:00
ulion
acec444aa5 Check availability before check argument for getting gamma properties.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25493 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 08:35:15 +00:00
ulion
3db51117dd Revert to r25490, since the r25491 is not correct.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25492 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 06:35:35 +00:00
ulion
61d91f8196 Combine code for check availability of property audio(id).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25491 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 06:27:55 +00:00
ulion
376bbbdae0 Combine common code for check whether chapter is available.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25490 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 06:20:48 +00:00
ulion
673246be0c OSD menu support mouse selection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25489 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 06:14:38 +00:00
ulion
d2cef4c240 Move two variable to the scope where they are indeed used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25488 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 03:45:14 +00:00
reimar
bfef84e32f Simplify a little bit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25487 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-21 11:56:18 +00:00
reimar
023446528b Remove a check that is never in any way useful
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25486 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-21 11:53:55 +00:00
diego
5efcab64a5 comment typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25485 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-21 11:47:09 +00:00
reimar
64b88a4139 Avoid some le2me_ASF_* stuff operating directly on buffer, should
simplify some future changes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25484 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-21 11:46:58 +00:00
diego
89d62c4ff8 The lagarith DLL requires an MMX2 CPU.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25483 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-21 11:41:42 +00:00
reimar
642b997690 Remove another useless cast
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25482 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-21 11:37:47 +00:00
reimar
5947ca8334 100l, buffer bound checks work better when done _before_ access.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25481 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-21 11:34:04 +00:00
reimar
f00272efea Reduce some extreme parsing ugliness (mostly cosmetic)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25480 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-21 11:30:55 +00:00
reimar
c06c4c6379 Remove useless alloc casts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25479 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-21 10:53:32 +00:00
reimar
0791efc730 Reduce code duplication: add a asf_read_wrapper function that never does partial reads
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25478 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-21 00:13:08 +00:00
ptt
c5ab28319d 30% synced with r22753
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25477 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 18:20:09 +00:00
reimar
885bc7c7e1 Move more variables into the block where they are used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25476 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 12:57:36 +00:00
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