Commit Graph

1363 Commits

Author SHA1 Message Date
jkeil 59e817ef88 Fix segfault in DShow video decoder. Using directshow, the
sh_video->out_out_buffer is NULL on the first few decoded frames,  and is
initialized in loader/DirectShow/outputpin.cpp, method COutputPin::Receive(),
while the video is already running.

Do not try to display a frame while sh_video->out_out_buffer is still NULL.
Such a test was present in the previous to last revision of this file, but
was lost in the last revision.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1363 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-20 11:35:47 +00:00
atmos4 9df40837ed Some corrections.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1362 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-20 10:13:17 +00:00
arpi cf953cab09 some cleanup, redundant code removed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1361 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-20 02:14:14 +00:00
arpi 1bdae59372 fontpath fixed again...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1360 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-20 02:03:50 +00:00
arpi 2e2057d29e indeo5-vfw vs. YV12 update
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1359 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-20 01:56:34 +00:00
arpi e34af51711 crash fixed if no [fontpath] in .desc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1358 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-20 01:51:01 +00:00
arpi a2206b10b5 argh. -d fixed. fixed?
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1357 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-20 00:31:51 +00:00
arpi 1cece7b434 fixed typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1356 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-20 00:10:18 +00:00
arpi d6276652fc install -D changed to -d
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1355 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-20 00:03:43 +00:00
arpi 7882ea9bad Applied DATADIR patch by Vladimir Kushnir
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1354 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-20 00:01:09 +00:00
arpi 56c90f5349 fixed shmem size, and now compiles without divx4linux too :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1353 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-20 00:00:08 +00:00
arpi 66f154a7a1 info about odivx vs. divx4
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1352 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-19 23:40:33 +00:00
arpi ecca6ca1ce DivX4Linux support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1351 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-19 22:49:24 +00:00
arpi b9e207fab3 DivX4Linux support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1350 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-19 22:43:19 +00:00
arpi 0555198655 added Gerard Lantau, ffmpeg/libavcodec author
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1349 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-19 22:02:06 +00:00
jkeil 8c734ab19f Solaris 2.6 and older do not support MAP_ANON, just fail the mmap MAP_ANON
attempt on such a system.  The code tries mmap with /dev/zero and MIT-shm next.

Fix a possible filedesc leak, when the code tries to mmap shared memeory via
/dev/zero.  Reuse the already open /dev/zero from a previous shmem_alloc call.

(same change; now without changing the indentation of the code)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1348 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-19 20:32:13 +00:00
jkeil 42805cb451 AUDIO_ENCODING_LINEAR8 format is not available on sunos 5.5. Format is
unsupported in mplayer for now, to get the code compiled on that old version
of the OS.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1347 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-19 20:04:54 +00:00
jkeil ca79276b20 x11_common does not compile, when the XDPMS extension is not available on the
target system.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1346 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-19 18:47:22 +00:00
jkeil 5d8d555740 Remove "sdl-config: not found" error message during configure, when the system
has no SDL installed.

Grab nanosleep from libposix4 on solaris (instead of librt), works on old
solaris versions, too.

Autodetect XDPMS: provide a "#define HAVE_XDPMS", so that C code can leave out
DPMS stuff when DPMS is not available on the target platform.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1345 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-19 18:46:29 +00:00
jkeil 03ad8d8323 ASF support for non-x86 cpus
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1344 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-19 16:26:48 +00:00
jkeil aec1d5237f ASF support for non-x86 cpus
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1343 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-19 15:15:21 +00:00
arpi 0605b2b8b3 Initial draft of my new cache system...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1342 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-18 01:28:01 +00:00
arpi cc6e52281e demuxer struct access code temporary disabled - FIXME
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1341 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-17 14:03:30 +00:00
jkeil edff03960e svga driver didn't compile on linux/ppc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1340 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-17 13:57:32 +00:00
arpi 0c1bac17b9 mpeg PES steram support (only 1E0 & 1C0 packets, no 1BA/1BB headers)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1339 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-16 20:21:26 +00:00
jkeil 7acec28b2d MPlayer doesn't compile on linux/alpha
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1338 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-16 18:42:38 +00:00
jkeil 8e9d44cb49 vo_dga doesn't compile on non-x86 architecture due to x86 asm usage.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1337 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-16 18:41:52 +00:00
jkeil bbb6c9916d Detect cpu architecture for a few more linux variants (linux/sparc, linux/ppc,
linux/alpha)

Try to find out cpu architecture for OpenBSD/x86 (of cause someone still needs
to port the code to openbsd...)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1336 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-16 18:40:51 +00:00
arpi 09fe43603a some more cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1335 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-16 17:07:13 +00:00
eyck f84ddd844e Translated by Justyna Biala <nell@skrzynka.pl>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1334 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-16 17:00:33 +00:00
eyck 664564fef5 Poprawki wprowadzone przez: Justyna Bia³a <nell@skrzynka.pl>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1333 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-16 16:59:47 +00:00
arpi a0cc8bfb13 ds->type removed - using id-based audio format detection in mplayer.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1332 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-16 15:36:20 +00:00
arpi 53ecd003df d_audio->type stuff fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1331 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-16 15:09:34 +00:00
arpi de73c8eed3 kernel 2.2.x + SSE warning message extended
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1330 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-16 13:34:42 +00:00
arpi 757d01d9a9 ranges fixed (MAX vs. MAX+1 dilemma)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1329 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-16 13:24:14 +00:00
arpi 0d99276222 some cleanup - fixed warnings, removed old stuff, moved audio resync to dec_audio
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1328 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-16 12:53:48 +00:00
arpi 4fb4b7b314 added prototype of vo_init()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1327 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-16 12:11:49 +00:00
arpi ea24950d94 removed unused DEFAULT_MPG123 stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1326 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-16 10:47:32 +00:00
jkeil b257fba36f fix typo in shell variable name usage
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1325 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-16 10:42:35 +00:00
jkeil e258b9bde1 Some minor comment fixes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1324 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-14 17:05:23 +00:00
jkeil a1359841ba Document the latest changes to the mplayer code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1323 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-14 17:03:55 +00:00
jkeil c46b19f3a8 Remove some superfluous casts. Fixes a few compile warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1322 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-14 17:00:38 +00:00
jkeil 61bce79d66 On big-endian architectures, all audio decoders default to big-endian 16-bit
audio sample format.

Add support to play both big- and little-endian 16-bit audio format to the
sun audio_out driver.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1321 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-14 16:58:55 +00:00
jkeil 7b813ca0ec Added some directory existance tests to the distclean and depend targets, so
that the user can disable the libavcodec code by removing/renaming the
libavcodec subdirectory once again.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1320 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-14 16:54:30 +00:00
jkeil ecbc8847c4 mp3 audio decoding didn't work on big-endian architectures
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1319 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-14 16:52:09 +00:00
gabucino b91e9d9bff *** empty log message ***
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1318 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-14 12:28:55 +00:00
atmos4 a9ab27ad5b Disable 3dnow when mmx is disabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1317 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-13 19:49:15 +00:00
jkeil 6a6b249293 Reorder dependancies a bit, all *.o *.a files depend on version.h, this allows
parallel builds using "gmake -j N"


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1316 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-13 16:15:29 +00:00
jkeil 8138cfbf18 Handle linux SMP machines (suggested by Martin Aumueller)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1315 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-13 09:20:13 +00:00
jkeil efd8217aca sh_audio->a_buffer is freed twice (here and in mplayer.c), can result to
malloc heap corruption.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1314 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-13 08:54:24 +00:00