1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 19:35:49 +00:00
Commit Graph

1551 Commits

Author SHA1 Message Date
mosu
87f93d9d7f Reset the saved max_pts used for timecode reordering after seeking. Otherwise playback is broken after seeking back in a file that needs the timecodes to be reordered. Patch by Sam Dennis <sam () malfunction ! screaming !net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15518 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-19 12:09:26 +00:00
nplourde
83ca336af6 The Quicktime headers have changed slightly from 10.3.x to 10.4. Steven Schultz <sms@2BSD.COM>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15509 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-18 14:44:56 +00:00
nicodvb
34ad64a0ed mux extradata
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15501 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-17 21:44:28 +00:00
nicodvb
682b140477 restore vcd_track
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15485 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-15 20:52:06 +00:00
nicodvb
f781d5bc30 better implementation of read()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15483 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-15 15:38:57 +00:00
nicodvb
e4b5ff6cf0 ftp is handled by the modular stream manager
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15479 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-15 08:47:55 +00:00
nicodvb
9afb8b3073 more efficient read() without memcpy()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15478 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-15 07:59:30 +00:00
nicodvb
ce228ac4cd ported cue:// to the new stream api; note: this stream must still be optimized in its read() and seek() functions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15477 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-15 07:38:42 +00:00
rfelker
0a6528773a comment out useless/nonexistent variable breaking compile on gcc4
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15473 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 20:26:46 +00:00
rtognimp
c9314d8a6b Fix for stereo files
Patch by KAICHO > s_naray at yahoo dot co dot jp <, forwarded by mike


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15469 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 15:47:49 +00:00
henry
07e2bc3acd do not modify tv_param_noaudio
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15465 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 13:54:25 +00:00
henry
3740da878c cleanups of the mutex usage
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15463 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 13:04:30 +00:00
nicodvb
9af02c596e fixed file:// syntax using newly introduced -string- urlpart
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15462 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 12:50:59 +00:00
nicodvb
f6df520b8e make file:// prefix work
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15453 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 08:15:37 +00:00
henry
86830611e1 10l forgotten comment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15452 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 07:52:47 +00:00
nicodvb
f595bf38ce removed unused variables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15451 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 06:52:25 +00:00
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