Commit Graph

1635 Commits

Author SHA1 Message Date
henry 32a7942535 improve playback with mplayer -tv immediatemode=0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15450 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 05:42:37 +00:00
nicodvb a2ac4cd246 prevent possible exploit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15427 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-13 00:00:54 +00:00
nicodvb a66c45716a fixup the correct sh_a
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15425 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-12 23:27:22 +00:00
nicodvb 15ba985140 fixed too few parameters to mp_msg(); silence compilation warnings, removed unused variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15424 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-12 23:12:27 +00:00
nicodvb da2a598d9d don't call fixup_audio if there's no audio
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15423 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-12 23:01:52 +00:00
faust3 30ef9de4fe fix segfaults caused by socket and file descriptor mismatches on windows
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15422 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-12 22:07:11 +00:00
nicodvb 3d450d0389 vorbis extradata is now passed from demuxer to decoder in matroska's way
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15421 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-12 17:35:58 +00:00
henry 4515c02ea4 BGR formats are ok, too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15420 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-12 15:31:37 +00:00
henry 3a3f2a1ad5 v4l2 RGB15/16 is actually BGR
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15419 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-12 15:30:39 +00:00
rtognimp 875908b14f Fix audio playback for no-sound-3gp.3gp (amr nb)
Patch by Richard van der Hoff * richardv * mxtelecom * com *


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15358 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-06 22:26:36 +00:00
rtognimp 92cc26d0f4 Decode "d263" and "damr" atoms in 3gp files
Patch by adland


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15357 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-05 21:40:33 +00:00
reimar 83d4f16ae5 Fix the memleak fix: in case of error, demux_close_ogg should be called
only once and demuxer->priv be freed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15322 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-02 07:59:12 +00:00
michael b7b46136ce fix timestamps
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15315 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-01 11:13:14 +00:00
mosu 9e5531f861 Nasty workaround for codec initialization data. In _at least_ one case (AAC) the stream_header.size element seems to be four bytes off. Skip those bytes but only for known cases (again AAC) and not for all.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15314 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-01 10:40:42 +00:00
rfelker 64c03e2f89 at lest this fixes build.. there's no way muxer_lavf is working right yet tho with mencoder's broken timestamps
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15310 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-01 05:11:02 +00:00
michael 2678394202 LIBAVFORMAT_BUILD >= 4624
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15309 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-01 02:03:58 +00:00
gpoirier 68bd56767f Fixes double import of avs_create_script_environment.
Patch by Gianluigi Tiesi < mplayer & netfarm * it >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15299 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-30 09:05:45 +00:00
rfelker a69f29069b revert one line of version 1.182 patch (caused use of already-freed
memory and multiple double-free errors). i am fairly confident that
all the relevant memory is now freed once and exactly once, but it's
better than corrupting the heap in any case.
100l to reimar :)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15298 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-29 21:57:05 +00:00
rtognimp a6d915256b Also '3g2a' can be used for 3GPP Profile 2
Based on patch by adland


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15287 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-28 18:25:50 +00:00
reimar be54f4813f adds a parameter to the switch_audio command to directly select a track.
Patch by kiriuja mplayer-patches at en-directo net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15286 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-28 14:43:19 +00:00
nicodvb 4503dd2338 added support for AAC; moved most of MSGL_V to MSGL_DBG2 to reduce verbosity
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15279 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-27 18:30:10 +00:00
nicodvb 867eedfa93 wrong framesize calculation for layers 1 and 2 with lsf set
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15252 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-24 08:41:45 +00:00
iive 6b82b8e381 use the documented default video device /dev/video0 instead of /dev/video that is missing on most systems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15247 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-23 21:23:58 +00:00
rfelker 14158adbbc proper fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15226 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-20 15:17:08 +00:00
rfelker d9b5ebeba3 undo dominik's 1000l cvs admin -o (recommitting bad patch)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15225 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-20 15:16:31 +00:00
lorenm f3bf706a77 integer overflow when reading fps from h264 vui.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15218 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-19 21:17:39 +00:00
reimar 5a5d4c946e Fix MP3 detection (list of found MP3 headers was not kep sorted).
Also remove code that only fixed the symptoms.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15216 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-18 20:51:34 +00:00
nicodvb cd57606202 check the result of poll() before read()ing; 100l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15214 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-18 19:49:40 +00:00
rtognimp e089ee403e Do not force real demuxer on x-pn-realaudio mimetype
Real and realaudio share the same mimetype, forcing real demuxer prevent
realaudio files from being played.
Fixes http://www.bbc.co.uk/romanian/rom.ra


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15210 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-17 20:33:25 +00:00
rfelker 5528785463 nico partially fixed the bug i reported; here's the rest of the fix.
basically demux_audio was mixing data in its header buffer in a bogus
manner, whereby it could sometimes "make up" valid mpeg headers where
no such header actually occurred in the file. it should be correct now.

btw these changes also fix the bug where mplayer reports huge initial
cpu usage for sound when playing mp3 files.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15206 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-17 17:17:52 +00:00
nicodvb 4593e0f2cf skip framelen-4 bytes after having successfully detected an mpeg audio frame
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15205 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-17 17:08:55 +00:00
nicodvb aa8b3279f9 assign correct tag, dwScale and dwBlockAlign to mpeg audio; optionally assign layer and samples_per_frame when parsing mpa header
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15200 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-17 09:42:51 +00:00
nicodvb 1e12bf4d71 added missing initializer in URLProtocolo; mux packets only if len > 0; second mencoder's a/v sync model
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15199 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-17 09:13:48 +00:00
rtognimp 27090defde Use define instead of hardcodec value for max streams number
Pathc by Dominik 'Rathann' Mierzejewski


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15182 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-16 13:42:50 +00:00
diego 7d9ec17fd4 Mark modified imported files as such to comply more closely with GPL §2a.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15179 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-16 12:51:09 +00:00
rtognimp c935ff23d7 Fix potential buffer overflow for urls with more than 20 streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15174 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-15 23:31:57 +00:00
rtognimp 20a3f6169c Fix potential buffer overflow if server answers with too many lines
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15173 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-15 23:30:44 +00:00
gpoirier 2a08792ee8 Online audio switching now supports Matroska too. Patch by Michael Behrisch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15155 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-13 22:33:19 +00:00
rtognimp 7b1bd09dbc Make string_utf16 code behave almost the same with or without iconv
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15151 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-13 19:21:05 +00:00
nicodvb bd9d54015f changed :vaspect option to CONF_TYPE_FLOAT
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15084 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-10 10:06:59 +00:00
rtognimp b5e683f42d "Fix" for pnm EOF detection (stop on read errors)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15078 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-09 14:50:36 +00:00
rtognimp a319fea77f Stop streaming if we got a server error or message on pnm streaming.
This is needed to stop playback for pnm streams where mplayer can't
authenticate, and avoid an endless list of "input pnm: read error".


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15077 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-09 13:44:43 +00:00
nicodvb 4493ca4321 set width, height and biCompression when the video stream contains avc1; reuse a private member rather than a in-stack packet[204]; set pes_es->is_synced =1 when au_start=1 (SL); update PMT when setting mp4es codec (SL); fix tss->is_synced assignment (don't forget the value when it was previously set)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15076 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-09 11:30:59 +00:00
nicodvb f1a9cf6c69 assign picture->(width,height) when parsing h264
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15074 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-09 11:00:00 +00:00
rathann bc7fa51e6d obvious gcc warning fix, approved by Nico
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15068 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-08 00:52:43 +00:00
nicodvb 76e038c2ae demux ac3 by means of lavf by default
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15062 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-07 18:59:15 +00:00
rathann e3b183dc3f - fix gcc warnings, strlcat/strlcpy prototypes
- fix bad sscanf usage in geometry.c


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15059 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-06 11:57:10 +00:00
rathann d621bc66d2 fix http://bugzilla.mplayerhq.hu/show_bug.cgi?id=260
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15058 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-06 11:53:45 +00:00
gpoirier 9e909f0dde Added support of audio stream switching in the MPEG demuxer using the #-key
Patch by Michael Behrisch < behrisch $ informatik * hu-berlin * de >
commited with the kind blessing of D. Richard Felker III


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15047 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-03 14:08:28 +00:00
nicodvb acf7defdcf allocate and fill extradata field for video_avc (raw nal units, extradata contains sps+pps); fixed payload_size assignment for SL payloads
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15046 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-03 11:47:20 +00:00
nicodvb 7affbd1748 added support for mpa layers 1 and 2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15040 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-02 10:30:19 +00:00
lorenm 030aa1ebe7 filename-based detection for h264 ES
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15036 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-01 05:45:55 +00:00
rtognimp af9950cd99 Fix alac from QTpro (in standard mov file, not in m4a file)
Extradata is in a different place
fixes samples/A-codecs/lossless/ALAC/alac.mov


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15023 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-30 22:10:07 +00:00
michael 7beeedc331 various (de)muxer_lavf fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15012 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-25 22:47:09 +00:00
michael 078ef11dda set i_bps
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15008 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-25 11:09:42 +00:00
michael c9a5ffcee7 1000l (dwSampleSize != nSamplesPerSec)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15006 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-25 02:41:08 +00:00
michael 93b2bacee5 discard streams we dont need
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15005 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-25 00:48:18 +00:00
nicodvb db844bc9f6 wrong binary operator
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14994 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-23 07:53:37 +00:00
nicodvb f6329a75d8 consider parse random_access_point from the adaption_field to determine if the payload is an access point (for SL)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14993 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-23 07:43:31 +00:00
nicodvb f0fc50f974 SL payloads are pushed to audio and video fifo only when they are flagged with random_accesspoint or access_unit_start
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14982 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-22 07:45:00 +00:00
nicodvb 0f04ee59e6 initial support for SL packetized data, with certain limitations; partly reworked the tables management for a better code reuse
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14969 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-20 14:20:59 +00:00
nicodvb 2c2ea161cb export getbits() as mp_getbits()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14968 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-20 14:16:21 +00:00
rathann cb15f1d89d missing declaration, fixes:
muxer.c:36: warning: implicit declaration of function `muxer_init_muxer_lavf'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14956 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-18 01:59:43 +00:00
rtognimp 0c7b6fc212 Rather simple patch for RAWDV demuxer which lets it say whats the total
movie length.
Patch by Oded Shimon


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14935 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-09 20:29:50 +00:00
nicodvb f955afd56c fixed support for mp3 at <32000 sample_rate
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14928 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-07 07:36:27 +00:00
nicodvb c596f03a8a added support for other codecs (mpeg4/h264/aac) in mpeg-ps parsing the PSM
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14924 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-06 21:10:01 +00:00
rtognimp d13d95f551 alac support via lavc decoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14923 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-06 17:55:31 +00:00
nicodvb ea27baf5a3 converted vframerate to CONF_TYPE_FLOAT
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14915 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-04 07:43:00 +00:00
rfelker 47c016bd18 100l to reimar.. sh_audio->samplerate and sh_audio->i_bps are not the same
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14911 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-04 01:53:55 +00:00
rtognimp 56bf07f685 Fix very old ra files with no fourcc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14910 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-03 23:02:45 +00:00
rtognimp e98640dadc Fix some 28.8 ra files with four text strings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14909 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-03 21:13:30 +00:00
reimar c5563969ec Fix rm files with a really big index chunk.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14898 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-03 10:23:28 +00:00
reimar fd9fe9e04d Make nuv files work on bigendian (but old nuv files created with mencoder
wont play anymore - before they would have worked with mplayer on be)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14897 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-03 10:19:56 +00:00
nicodvb 25496ac66c recalculate frame duration after soft telecine
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14895 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-03 07:48:54 +00:00
rathann 8896e5e98f Fix:
mpeg_hdr.c:212: warning: no return statement in function returning non-void
mpeg_hdr.c:262: warning: suggest parentheses around assignment used as truth value
mpeg_hdr.c:264: warning: suggest parentheses around assignment used as truth value
mpeg_hdr.c:270: warning: suggest parentheses around assignment used as truth value
mpeg_hdr.c:275: warning: suggest parentheses around assignment used as truth value
mpeg_hdr.c:212: warning: control reaches end of non-void function

mp4_header_process_vop() return value isn't used anywhere anyway.

Approved by Nico.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14888 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-01 23:45:32 +00:00
rathann 77fab94da1 missing #include (for malloc and free)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14887 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-01 22:57:57 +00:00
nicodvb d2c6e4fd59 100l wrong binary operator when setting progressive frame
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14882 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-01 21:04:09 +00:00
nicodvb 8c1491ec85 telecine now works in display order (rather than decoding), as far as there are no more than 4 consecutive b-frames; added support for FMP4
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14881 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-01 20:56:43 +00:00
reimar 9bc6e80972 set sh_audio->delay ins audio-only case so that correct time is displayed
after seeking.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14878 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-01 20:16:49 +00:00
rfelker 4eb1b755bb Fix the ogg fourcc nightmare!!!
The problem: once upon a time, windows idiots decided to try to store
vorbis-in-ogg-in-avi. Of course this failed miserably, but they used
the audio format tag 0xfffe for "extended" to do this. Later someone
working on MPlayer somehow decided 0xfffe was the format for vorbis,
which is nonsense, and now that's conflicting with real wav files with
extended audio format. This patch changes demux_ogg (and mkv) to use
sane fourcc's for vorbis and theora and gets rid of the 0xfffe
nonsense so hopefully wav files with extended audio will work now.
If there are problems, we'll have to find workarounds...and drive an
18-wheeler full of cola thru the house of whoever wrote this 0xfffe
nonsense in MPlayer to begin with...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14844 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-27 18:11:17 +00:00
rfelker cdc68a9f0e soft telecine support! :)) patch by nico
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14841 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-27 06:24:19 +00:00
rfelker 4047cbd9dd more on tivo vstream support.. 1000l to Joey for forgetting this file and breaking MPlayer build! :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14839 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-27 05:53:12 +00:00
joey 81cbdce6aa added a stream module for the vstream client library
allows MPlayer to stream video from a properly equipped Tivo


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14837 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-27 04:25:12 +00:00
nicodvb 259ab69fe5 50000l: fixed various memleaks; CC discontibuities aren't necessarily error conditions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14826 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-25 22:27:46 +00:00
hzoli 067c0482d9 Remove file-global mpadec, add ad_driver member to sh_audio_t instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14820 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-25 11:17:43 +00:00
nicodvb c63785ae65 both reorder and noreorder flags are now available
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14810 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-25 07:46:44 +00:00
nicodvb 090fcfa8bf disabled by default frame reordering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14800 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-24 20:23:13 +00:00
nicodvb e0e161dd83 framerate autodetection for H264 in raw/ts streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14799 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-24 20:02:41 +00:00
nicodvb b9377319a6 replace bzero() with memset()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14780 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-23 07:30:37 +00:00
nicodvb e23435af4a renamed init_adelay to vdelay with opposite range
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14773 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-22 21:49:08 +00:00
michael 81ef1c7db5 switch from DIVX -> FMP4 fourcc for libavcodec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14767 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-22 20:24:18 +00:00
henry 3d602b653c Theora fixes:
- do not use negative stride (fixes -vf pp crash)
- pass true image dimensions to VO, not the aligned ones (fixes incorrect
aspect ratio bug & black bar under video)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14764 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-22 19:18:45 +00:00
nicodvb aa566ac6de initial, extremely experimental, libavformat muxer; don't expect anything to work yet
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14758 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-21 23:18:31 +00:00
nicodvb 10069de306 new mpeg muxer compatible with dvd/[s]vcd; small changes in the muxer layer (sanity checks in the muxer_init functions)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14754 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-21 21:45:49 +00:00
alex 467091d56a swf and flv through libavformat
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14752 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-21 17:36:42 +00:00
nicodvb 32dc0fe1b0 added support for raw udp:// streaming
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14721 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-17 20:55:57 +00:00
rtognimp a6c469e97f Mp3On4 demuxer support
Patch by Larry Ruedisueli lwr at audioresearchlabs dot com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14707 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-15 21:04:33 +00:00
faust3 1d56bd26f0 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14696 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-13 21:36:56 +00:00
faust3 9ba19353ed avisynth demuxer patch by Gianluigi Tiesi <mplayer at netfarm.it>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14694 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-13 13:39:19 +00:00
reimar 02f5ebf1d5 Memleak fixes. Based on patch by Timothy Lee (timothy lee at siriushk com).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14667 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-06 10:30:10 +00:00
faust3 b08e2e7c08 bzero is deprecated patch by Gianluigi Tiesi <mplayer at netfarm.it>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14643 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-04 18:31:04 +00:00
reimar dd390cede9 fix for streams that do not send a bitrate
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14640 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-03 20:13:44 +00:00
nicodvb fb8a0ddba2 discard lavf packets with wrong ids
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14612 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-30 09:13:28 +00:00
reimar 78dda735d5 Fix possible hang when playing broken MP3 from linear stream and remove
duplicate code.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14609 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-29 12:55:56 +00:00
iive 80d8313b70 several sets of headers declare global variables in them, which causes multiple definition errors with gcc 4.x
patch by Alexander Strange <astrange ithinksw.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14608 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-29 12:24:43 +00:00
rtognimp a6fbd6ca66 Do not read any more data at eof: if got eof in the middle of an audio
block, ad_realaudio requests more data even if sh->audio->eof
Fixes sig11 at eof of hotel_california_ra5.1_640x480_30s.rmvb


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14587 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-24 21:57:07 +00:00
rtognimp a2fcc5b550 Be less verbose with -v (do not print a line for each demuxed packet)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14586 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-24 21:52:24 +00:00
reimar 9a37723498 Reset stream eof after parsing header, fixes bug #218
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14582 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-23 21:39:51 +00:00
diego d601428b98 Reduce excessive verbosity.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14579 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-22 18:12:40 +00:00
mosu 3de4b2a2d5 More user-friendly stream, -xid and -slang info output even in non-verbose mode part 2.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14575 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-22 14:28:23 +00:00
nicodvb 7111eacce7 replaced bzero() with memset(); stream_type 0x0f is AAC
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14572 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-22 12:15:06 +00:00
rtognimp 3cee5fc691 Play RV30 with 8-elements cmsg24
Fixes rv30_cmsg24_test.rmvb (now in samples)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14569 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-22 00:06:59 +00:00
mosu 1d60bf5454 More user-friendly stream, -xid and -slang info output even in non-verbose mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14563 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-21 18:55:01 +00:00
mosu efd53eed61 Handle missing palettes in the info part of VobSubs in Matroska files correctly by giving mplayer a NULL pointer. This way it will use a default palette instead of black only. Patch by Csillag Kristof (fenwick () freemail ! hu)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14562 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-21 18:25:44 +00:00
reimar 6e450282a6 remove all setlocale calls, they break the behaviour of sscanf and
strcasecmp, especially with tr_TR locale - and do not seem to be good for
anything.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14543 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-20 13:22:53 +00:00
reimar e7568f0179 100l, completely broken pointer arithmetic causing crashes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14536 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-19 12:12:36 +00:00
rtognimp aa3d2fd97a If asf/tcp fails, asf/http used a wrong port
Fixes mms://mms.thestreet.com/cramer011205.wma


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14526 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-16 22:30:28 +00:00
mosu 1cea37532f More support for AVC in Matroska.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14516 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-16 14:59:19 +00:00
reimar 027ed1e38e set sub_utf8 only when actually using mkv subtitles, will break external
subtitles (-sub) otherwise.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14514 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-16 12:17:41 +00:00
reimar d147077c21 Move generic length and percent pos calculation to demuxer.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14503 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-15 16:11:45 +00:00
rtognimp 810a5a7236 Decode MP3 in rm files
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14499 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-15 15:07:24 +00:00
reimar 31653cb3f7 100l, no endian conversion on floats!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14491 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-13 21:56:06 +00:00
mosu 60e7dabb30 Do not access word-sized elements on potentially unaligned memory addresses. RISC processors usually do not like that.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14490 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-13 21:04:34 +00:00
nicodvb 70a7a6b450 automatic fps calculation for mpeg4 in raw stream/mpeg-ts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14478 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-12 20:43:53 +00:00
reimar 11880705aa Call subcp_close when closing the demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14462 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-11 18:32:49 +00:00
reimar bcc2517604 free http field_name to fix memleak
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14461 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-11 17:49:59 +00:00
mosu 06bca786bd Support for AVC in Matroska.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14459 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-11 08:30:56 +00:00
rik 5405368390 replace almost obsolete email address: snel@phys.uu.nl -> rsnel@cube.dyndns.org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14430 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-08 14:32:26 +00:00
nicodvb b11ef987a5 fixed broken seeking in mpeg-es files; syncword seeking for all 3 video codecs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14427 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-08 10:05:44 +00:00
rtognimp 06d4538217 Reduce index verbosity
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14404 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-06 17:08:52 +00:00
rtognimp 2b1dff428f Real multirate files support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14403 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-06 16:29:46 +00:00
reimar f3d075be77 Print waveheader only when verbose
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14396 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-06 13:10:10 +00:00
nicodvb befb5ecec6 added support for ATSC tuner and conf.file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14383 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-06 09:43:10 +00:00
reimar e73aadd97b Use libc qsort to sort ODML index.
Based on patch by phillip at phdcam dot com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14298 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-02 14:29:43 +00:00
reimar a7908eba1b fix quicksort to avoid stack overflow and extreme runtimes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14288 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-31 16:02:47 +00:00
nicodvb 0b7d411ad4 replaced deprecated FE_GET_EVENT with FE_READ_STATUS (only for DVB_HEAD); added a workaround for drivers that don't support FE_TIMEDOUT
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14283 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-31 11:40:01 +00:00
rtognimp dbbe18f450 Fix channels, sample rate and sample size for 3gp files
Patch by Richard van der Hoff [ richardv at mxtelecom dot com ]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14280 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-29 23:26:01 +00:00
rtognimp 939e46626e TwinVQ decoder and demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14277 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-29 19:51:56 +00:00
rtognimp c11245e807 Try http if pnm connection fails
Fixes pnm://www.darrelbowen.com/videos/commercials256.rm


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14266 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-28 19:59:56 +00:00
reimar eb7911b7ad 10l, variable declarations must be before mp_msg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14263 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-28 11:16:23 +00:00
reimar 91aae0d538 100l, buf etc. in af_fmt2str call are already pointers...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14256 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 19:43:13 +00:00
alex 85b7553d05 removing AFMT_ dependancy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14249 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 17:55:06 +00:00
alex 507121f7fe removing AFMT_ dependancy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14246 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 17:30:15 +00:00
reimar bf0b713d0c fix stream selection and -bandwidth for mms-over-http.
Modifies header parsing to do a brute-force scan for known guids, to avoid
having to analyze and parse the whole property-tree structure.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14237 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-25 11:31:32 +00:00
aurel 227df915e5 fix a segfault when calling loadfile during v4l2 playback
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14215 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-22 13:19:30 +00:00
reimar 12067f7a97 fix position bar and length display for mov files
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14199 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-21 12:27:38 +00:00
reimar 3426117ee8 Use demuxer_get_percent_pos for the OSD position bar
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14198 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-21 12:25:59 +00:00
diego a688341112 Handle raw yv12 video as I420 to fix some Broadcast 2000 created samples.
patch by Reza Jelveh, approval by Roberto


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14180 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-18 01:12:02 +00:00
diego 368eb52002 y420 vs i420 typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14167 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-16 23:54:59 +00:00
rtognimp 74abb5e853 Security fixes ported from upstream (xine)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14165 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-15 21:27:14 +00:00