1
mirror of https://github.com/mpv-player/mpv synced 2024-10-22 08:51:57 +02:00
Commit Graph

1772 Commits

Author SHA1 Message Date
diego
15f584a958 OS X compilation fix: Include inttypes.h so that uint32_t is not undefined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17352 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-08 22:57:59 +00:00
nicodvb
f774739df9 include the right avcodec.h, consistently with the rest of mplayer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17344 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-08 14:03:42 +00:00
reimar
3b31501ff7 fix crash if no video codec available
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17343 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-08 13:35:54 +00:00
nicodvb
627d7781e6 disabled hack to read the properties of mpeg1/2 video in avi and asf: it's totally useless and leads mplayer to crash
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17340 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-07 22:20:46 +00:00
rtognimp
b59db28355 This patch makes real rtsp tell the server to deliver data at specified
bandwidth, if bandwidth cmdline option is given. Also, if that's given,
it uses it for sdp stream selection. If not given, the behavior is the
same as before.

It's used to implement something like turboplay in realplayer.

Patch by Tomas Janousek >>> tomi (At) nomi (.) cz <<<


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17333 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-06 14:39:10 +00:00
rtognimp
15bd7324c2 Don't leak memory (free audio reordering buffers)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17319 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-04 23:36:36 +00:00
rtognimp
3aa98b93f7 Remove assumption that all audio packets in a block have the same
timestamp; now the code stores timestamp for every packet and puts them
on reordered packets
Fixes ra10cook.rmvc


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17318 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-04 22:49:23 +00:00
rtognimp
6dafd56e2d 1000.0l timestamps are float
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17317 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-04 22:21:32 +00:00
mosu
2e40bfa136 Improved handling of text subs in Matroska files with adjacent newlines (\N) resulting in more than SUB_MAX_TEXT lines to display. Patch by Robert Henney (robh () rut ! org).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17309 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-04 12:05:15 +00:00
nicodvb
c28b22845c removed previously forgotten reording options/flags
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17302 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-03 22:14:27 +00:00
nicodvb
a5092cfa00 removed broken frame reording code; unified audio and video frame storing code (in memory, not in the packets); simple workaround to handle non-standard framerate mpeg1/2 video
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17299 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-03 22:02:11 +00:00
lorenm
0471912bbf h264es: don't seek to non-keyframes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17290 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-03 07:29:59 +00:00
nicodvb
db69d933c1 don't reset dvdsub->id unless -slang is specified; assign default sub stream id when demux->sub->id is -1 (autodetect)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17287 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-02 20:40:25 +00:00
corey
ffb7208370 Partial support for QuickTime sound atom version 2.
This doesn't add support for parsing the sound atom itself, but does
recognize the different offset at which the ESDS atom starts. Also,
this patch supports "3" in the channels field, which indicates
6-channel (5.1) audio. For more information, see this mail:

From: Corey Hickey <bugfood-ml@fatooh.org>
To: mplayer-dev-eng@mplayerhq.hu
Date: Wed, 28 Dec 2005 23:42:46 -0800
Subject: [PATCH] (partially) support QuickTime sound atom version 2


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17284 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-02 06:56:22 +00:00
nicodvb
55fafe1c3b search next sequence_header untile a valid one is found
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17278 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-31 17:47:54 +00:00
nicodvb
c00dfe452b simplification: don't use residual_buffer, but prepend remainder of current frame to next one (needed for future work; init frame->pos to 0 in reorder_frame(); fix: don't go beyond last frame in flush_buffer()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17272 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-30 18:46:56 +00:00
rathann
8ae9b08191 fix dvdread version macro
patch by Emanuele Giaquinta (emanuele.giaquinta at gmail dot com)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17258 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-28 12:34:20 +00:00
rtognimp
c2c91b66bc Add "application/x-mms-framed" for ASF
Fixes http://64.34.147.109:3690/CFMJAM, closes bug #420
Fix by Rado R. ||| r_a_d_o |a| hotmail | com |||


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17236 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-24 18:17:39 +00:00
rtognimp
228f0abcf4 Typo in ASF demuxer selection by name (it's 'asf', not 'asv')
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17233 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-24 12:48:01 +00:00
henry
c0e54fd248 malloc padding to avoid access beyond allocated memory
Credits to Mikulas Patocka (mikulas at artax karlin mff cuni cz)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17227 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-19 19:38:28 +00:00
reimar
06ed3c2b57 calculate framesize for raw RGB and BGR.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17220 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-18 11:57:25 +00:00
reimar
f8c0e0cf04 fix crash with invalid -vid and no audio stream
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17219 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-18 11:55:47 +00:00
reimar
f44b5a9e96 include fastmemcpy.h before stream.h, so it is used for the stream_read
function, too. Gives a small speedup for e.g. high bandwidth MPEG2


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17201 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-17 10:46:48 +00:00
henry
31a9cfb68a remove now useless YV12 plane swap hack, patch by Luc Gallant lucgallant at gmail com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17200 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-16 23:04:20 +00:00
nicodvb
3d91be0230 fix compilation when dvdkit and dvdread are not available
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17192 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-14 21:52:41 +00:00
wanderer
a8235fce3f make demuxer seek and close functions return void, patch by Dominik Mierzejewski
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17175 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-11 17:21:02 +00:00
reynaldo
ea63d7c7a5 Harcoded eng strings on libmpdemux/network.c to help_mp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17154 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-10 01:40:18 +00:00
rtognimp
bda32bc73a Move audio packets reordering from codec interface to demuxers for real
files (old and new format), pass only real extradata to the codec
Enable cook codec from lavc, prefer lavc codecs for 14_4 and 28_8
formats. Disable internal 28_8, it's broken now and will be removed soon


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17150 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-09 16:25:37 +00:00
rathann
355bc2f7c1 fix
pnm.c:228: warning: implicit declaration of function 'usec_sleep'
realrtsp/rtsp.c:184: warning: implicit declaration of function 'usec_sleep'
ad_acm.c:149: warning: implicit declaration of function 'usec_sleep'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17093 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-05 01:27:32 +00:00
rathann
9d4d23cad6 fix
muxer_mpeg.c:2315: warning: implicit declaration of function 'mp_get_mp3_header'
muxer_mpeg.c:2339: warning: implicit declaration of function 'a52_syncinfo'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17092 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-05 01:26:09 +00:00
rathann
d5505c8f9e fix
demux_ogg.c:371: warning: implicit declaration of function '_ilog'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17091 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-05 01:25:31 +00:00
rathann
7daf67e81b fix
stream_livedotcom.c:70: warning: assignment makes pointer from integer without a cast
stream_livedotcom.c:77: warning: passing argument 1 of 'lseek' makes integer from pointer without a cast
stream_livedotcom.c:78: warning: passing argument 1 of 'lseek' makes integer from pointer without a cast
stream_livedotcom.c:84: warning: passing argument 1 of 'read' makes integer from pointer without a cast
stream_livedotcom.c:96: warning: control reaches end of non-void function


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17090 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-05 01:24:27 +00:00
rfelker
c4f58eee9e muxer_lavf MUST be disabled by default until someone adds AVParser
support to it. Otherwise users will generate files with totally
nonsensical pts if they use B frames! (And they are already doing so
-- see mplayer-users list!)

If anyone wants to volunteer to add AVParser support, go right ahead!
But until then, do not remove this check. :)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17080 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-02 19:43:36 +00:00
nicodvb
6ac24fccd8 fixed wrong telecine trf pattern; fall back to mpeg2 when user specifies unknown format
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17067 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-30 21:45:32 +00:00
reynaldo
2ae5a0788d Clean up some muxer messages, patch by Corey Hickey bugfood-ml AT -fatooh/org- , small fixes by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17066 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-29 22:04:57 +00:00
albeu
fcd2d08125 Add support to get the list of files from a file containing one filename
per line. Patch from devik (devik .at. cdi .dot. cz).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17051 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-26 17:10:17 +00:00
albeu
bab80ce123 Fix URL escaping to correctly handle URL containing an ip6 address or
escaped special chars like & or ;


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17049 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-26 15:57:39 +00:00
diego
c98a02849f When it comes to CD/DVD handling bsdi has a linux CD/DVD compatibility
library, use this to fix building on this (weird ;)) system.
patch by Steven M. Schultz sms __ at __ 2BSD __ dot __ COM


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17045 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-25 02:06:47 +00:00
rtognimp
7d81d69dd5 Ignore OPTIONS rtsp command during playback. Fixes
rtsp://mms.sonix.de/universal/rock/apocalyptica_lifeburns_300.rm?start=0
(playback stopped after 82 sec)
Patch by adland


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17033 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-22 19:24:09 +00:00
nicodvb
7a8f8317fd buffering in the muxer layer; patch by Corey Hickey (bugfood-ml ad fatooh punctum org) plus small fixes by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17024 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-21 22:53:14 +00:00
diego
36e1974be0 Unify include path handling, -I.. is in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-18 14:39:25 +00:00
rathann
06ac97d79f Simplify weird code. ;)
Approved by Diego.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16984 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-13 20:25:06 +00:00
reynaldo
8318fcd06b [TRIVIAL] More translatables to help_mp and printfs to mp_msg on libmpdemux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16968 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-10 21:33:12 +00:00
reimar
cf440b521e Do not hang forever when the card delivers no new data.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16963 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-10 20:32:47 +00:00
reimar
0a85f24278 implement norm switching, which was already documented??
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16962 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-10 20:31:27 +00:00
rtognimp
59235ce33e Add another content-type for aac audio in shoutcast streams
Fixes http://www.digitallyimported.com/aacplus/goapsy.pls


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16949 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-08 22:07:53 +00:00
faust3
7b7c8c7125 save us from #ifndef hell
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16941 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-06 21:09:07 +00:00
faust3
0538ed8780 make it optionally possible to compile MPlayer with libcdio instead of libcdparanoia
patch by Erik Lunchpail <erik_27can at yahoo.com>
base on patch by Rocky Bernstein <rocky at panix.com>
minor modification by myself


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16936 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-06 17:42:20 +00:00
nicodvb
f57a65dd86 fixed possible uint8 overflow; assign progid to the newly created pmt
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16935 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-06 16:17:17 +00:00
reimar
949b479e3c fix typos: aslo->also, falback->fallback (they were just too annoying *g*)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16933 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-06 16:10:39 +00:00