Commit Graph

21573 Commits

Author SHA1 Message Date
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
reimar 77226f96ba Replace another MIN macro by FFMIN
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21548 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 12:25:25 +00:00
reimar 6caf5586ee Get rid of min/max macros from aviheader.h, they do not belong here.
Replace their uses by FFMIN/FFMAX


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21547 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 12:24:11 +00:00
reimar 134a537a76 Improve OpenAL speaker positions a bit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21546 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 12:14:14 +00:00
reimar 83916cab7f Remove condition that should always be true
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21545 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 11:59:49 +00:00
reimar a8bf24702b Fix crash in ogg demuxer uninit with -aid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21544 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 11:59:09 +00:00
reimar 26bf51077d Half-properly set up OpenAL position stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21543 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 11:45:41 +00:00
henry b4e852b305 sync to libmpeg2-0.4.1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21542 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 10:34:27 +00:00
voroshil fcb30369d8 r21537: General reformatting round:
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21541 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 09:27:35 +00:00
nplourde f4e41d5209 do not force arch and isysroot in osx
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21540 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 00:09:45 +00:00
voroshil 1eac1a4ad4 Fix bmovl-test build error
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21539 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-08 17:20:21 +00:00