0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00
Commit Graph

21583 Commits

Author SHA1 Message Date
reimar
d6c8342dc4 Mark utf8_get_char parameter as const and fix a compiler warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21598 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-11 22:37:17 +00:00
reimar
94c6716567 Another simplification
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21597 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-11 22:32:13 +00:00
reimar
7147ed7ab6 Reuse utf8_get_char in subtitle rendering code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21596 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-11 22:29:08 +00:00
reimar
fad12bd37b More ChangeLog updates
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21595 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-11 19:49:04 +00:00
henry
e0ea1f7c69 count needs to be even
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21594 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-11 18:50:52 +00:00
gpoirier
f9186752ec sync w/r21561
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21593 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-11 14:53:40 +00:00
gpoirier
d833b4907f sync w/ r21506 and misc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21592 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-11 14:21:21 +00:00
gpoirier
e8b46114db sync w/ r21486
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21591 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-11 13:05:30 +00:00
diego
33763370c0 Fix --extra-libs-mplayer and --extra-libs-mencoder.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21590 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-11 10:23:33 +00:00
diego
bba7a9743d small updates, cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21589 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-11 10:19:26 +00:00
reimar
01a497c0c5 10l, forgot to add _inc_x11 to X11 cc check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21588 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-11 08:59:43 +00:00
henry
ecd6df1c72 (hopefully) the rest of PPC modifications
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21587 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-11 08:35:49 +00:00
reimar
cbb2590c88 OpenAL volume control
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21586 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 22:45:32 +00:00
reimar
f13de61088 Better default CFLAGS for non-gnu, non-intel compilers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21585 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 22:12:48 +00:00
reimar
b9e8186ac3 Respect -noidx in lavf demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21584 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 21:37:00 +00:00
reimar
12e48b5cd0 Make sure closesocket is called.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21583 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 19:47:24 +00:00
reimar
6a2fc8dd2c STREAM_UNSUPPORTED is -1, so use the former for return value in all places.
Thanks to Nicolas Baradakis (nbk sitadelle com) for noticing.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21582 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 19:38:41 +00:00
reimar
ee08a2d2d3 Make sure stream->fd is set correct (esp. to -1 on error when fd is closed)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21581 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 19:35:39 +00:00
torinthiel
be3c6ae324 Revert my previous, broken commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21580 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 19:25:59 +00:00
reimar
81b668d7ed Only increase buffer size to avoid crashes when seeking in
multi-resolution video files.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21579 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 18:59:28 +00:00
nicodvb
5244303111 check that stream_type is DVD before calling dvd_lang_from_aid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21578 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 17:28:56 +00:00
nicodvb
6c985e22b4 show subtitle language in OSD ; patch by Otvos Attila
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21577 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 17:28:01 +00:00
nicodvb
a59ebe0c2d added function to return the language of the specified subtitle id. Patch by
o o
 O tvos Attila


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21576 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 17:25:54 +00:00
reimar
b5b3b6a41a Fix realvideo size changes by using our own malloced buffer and export type mpi.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21575 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 16:52:58 +00:00
reimar
c0d15a1516 Add x11 include path only to _inc_extra if X11 is actually enabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21574 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 15:10:46 +00:00
reimar
ec258b2095 Remove no longer needed always_inline hack in mpbswap.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21573 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 14:46:37 +00:00
reimar
7d4e8a36bb Support OpenAL headers in OpenAL/ instead of AL/ and OpenAL on MacOSX in general.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21572 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 14:07:08 +00:00
reimar
7831dacd5d Avoid deprecated _sleep, instead include windows.h and use Sleep just like
osdep/timer-win2.c does.
Patch by Zuxy Meng [zuxy meng (at) gmail com]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21571 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 14:04:27 +00:00
reimar
b3241c226a ID_SUBTITLE_ID should show the -sid number, not the vobsub id also for dvd subs.
Patch by Lehel Bernadt [lehel pmc-services hu]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21570 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 13:17:54 +00:00
reimar
519497461a ffmjpeg uses RGB24 for JPEG-LS
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21569 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 11:53:19 +00:00
voroshil
21aaa9ef31 r21561: update vbuf_size and suggest 400 for HDTV video
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21568 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 08:19:21 +00:00
nplourde
62ddcb8345 vo_macosx, fix crash when closing window
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21567 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 01:38:54 +00:00
reimar
121bab971c Fix a compiler warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21566 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 01:10:53 +00:00
reimar
eb2d97e38a Set frequency and correct frequency getting
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21565 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 01:08:32 +00:00
uau
2cfcfc4f22 Set AVFMT_FLAG_GENPTS if -correct-pts is used.
This should allow using -correct-pts (and thus filters which adjust pts
or add frames) with dvd or other mpeg container files by specifying
"-correct-pts -demuxer lavf -vc ffmpeg12". Might work with libmpeg2
decoder too but certainly not with internal demuxer.
Using this flag isn't quite optimal as it can cause extra buffering of
demuxed frames, but at least it's better than just failing until a more
complex solution is implemented.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21564 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 00:50:38 +00:00
reimar
2a2d39f0ed Remove a disabled and completely outdated sample rate mismatch warning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21563 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 00:21:35 +00:00
nplourde
97c7df03b7 vo_macosx.m disable window animation when going to fullscreen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21562 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 23:57:28 +00:00
nicodvb
c5d2aa69d9 update vbuf_size and suggest 400 for HDTV video
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21561 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 22:24:07 +00:00
nicodvb
3e7616ecab align vbuf_size to the max value allowed by main profile @ high level
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21560 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 22:21:37 +00:00
Gabrov
a754b2fd0d synced with r21558
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21559 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 21:28:38 +00:00
reimar
f847af0e29 Fix misplaced http_free
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21558 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 19:50:08 +00:00
reimar
fd020fc4f7 Fix potential endless loop in http_streaming_start due
to not resetting redirect.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21557 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 19:34:46 +00:00
reimar
5129d87b43 Fix lots and lots of potential memory/fd leaks in http_streaming_start
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21556 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 19:33:28 +00:00
nicodvb
14dc3c4f29 use dvdnav's palette if available
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21555 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 19:24:12 +00:00
nicodvb
266f5de2bb export spu palette; part of a patch by Otvos Attila
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21554 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 19:23:35 +00:00
reimar
29ec343e07 Avoid memory and fd leaks in asf streaming open code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21553 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 19:12:51 +00:00
reimar
a0897b21c1 Forgotten closesocket on error, patch by
Nicolas Baradakis  <nbk sitadelle com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21552 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 18:57:48 +00:00
reimar
5adaad47de Close fd on error.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21551 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 18:54:12 +00:00
reimar
d24e49b53d Fix ppc without altivec compilation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21550 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 18:09:41 +00:00
reimar
6bdd546887 cscd produces BGR15, not BGR16
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21549 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 13:32:46 +00:00