1
mirror of https://github.com/mpv-player/mpv synced 2025-01-24 19:37:30 +01:00
Commit Graph

1072 Commits

Author SHA1 Message Date
attila
4b1211d2d0 Patch by Nico <nsabbi@libero.it>
this patch fixes a recently discovered bug for which DVB-C users
couldn't tune
(wrong parsing of the config file and incorrect parameter passing to
tune_it())
and includes the still unapplied patch posted in date 6/9/2003:

-  it works correctly with and without caches; in the former case it
doesn't take anymore a lot of time to empty the cache before changing channel;
the uninit_cache() function is called in mplayer.c just after
the new tuning operation
- initialized a variable identifying the tuner type, and exit if it
isn't supported


- doesn't crash anymore when
1) the channels file doesn't exists
2) the tuner is used by another application
3) in the menu, when trying to select a channel before the first
4) some mp_msg() called in case of error


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11353 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-01 15:17:01 +00:00
attila
28f5233b36 Current mplayer (mine is mplayer-1.0-pre1cvs20031001) cannot play mms
stream with multibyte characters in the url.

  There is a bug in string_utf16() of libmpdemux/asf_mmst_streaming.c:
  the url encoding code is written for single-byte character only. It
  just fill a zero byte between every two adjacent bytes of the url
  string. This is wrong when the url string contains multi-byte
  characters.

  My patch is in the attachment, and has been tested working. It uses
  iconv() to convert the url's encoding to utf-16 correctly. So can this
  patch be accepted and commit into CVS?

patch by Wang WenRui <wangwr@mail.ustc.edu.cn>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11351 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-01 14:43:28 +00:00
mosu
a2be6012e5 Accept video/x-ms-asf as the MIME type for ASF as well. Patch by Dominique Andre Gunia <Dominique.Gunia@schunter.etc.tu-bs.de>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11350 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-01 14:10:32 +00:00
mosu
c5c7fbf3ff Fixed wrong allocation of the BITMAPINFOHEADER structure which would crash mplayer in some cases.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11330 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-30 14:50:04 +00:00
mosu
148a026687 VobSubs are stripped of their MPEG PS in the muxer already, and only the SPU packets remain. So no more need for mpeg_run in the demuxer. The muxer compresses each entry independently with a full deflateInit, deflateEnd.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11322 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-29 18:09:20 +00:00
attila
bcfd543090 * fix my 100l from before
* SSA is also ASS
* avoid multiple segfaults when there are more then SUB_MAX_TEXT-1 lines at the same time


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11277 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-26 21:09:37 +00:00
attila
f3f05bfc4d 10!
someone please tell me how subs ever worked with mkv


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11269 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-26 12:28:45 +00:00
mosu
180f062456 Support for -chapter selection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11261 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-25 12:42:24 +00:00
alex
aba42ce2fe Saving and loading external index file. Patch by Jason Tackaberry <tack@auc.ca>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11235 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-22 19:01:37 +00:00
mosu
7f54293847 Added support for additional content encoding (compression, encryption) in general and zlib compression in particular (to be used with VobSubs).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11230 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-22 17:59:28 +00:00
alex
2d0a6214d3 User settable http user-agent. Patch by Per Wigren
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11229 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-22 17:54:32 +00:00
alex
400850c793 disable a silly errormessage
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11228 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-22 17:36:47 +00:00
alex
7c91720081 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11227 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-22 17:30:13 +00:00
alex
3a177a1741 Fixing tons of 10ls. Patch by rgselk <rgselknospam@yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11226 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-22 17:26:15 +00:00
alex
6ffaf41f45 update by Andriy N. Gritsenko <andrej@lucky.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11224 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-22 17:07:17 +00:00
alex
b32c67928a some updates in muxer api
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11223 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-22 17:04:39 +00:00
attila
b95debe5ed big demux_ts fix from Nico <nsabbi@libero.it>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11191 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-20 13:35:55 +00:00
mosu
6331cb6f38 Support for MP2 audio.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11156 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-16 22:01:30 +00:00
mosu
a3f0c559e9 Support for uncompressed VobSubs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11155 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-16 21:10:18 +00:00
mosu
ba57485970 Support for VobSub-in-Matroska; parts outside of demux_mkv.cpp.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11154 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-16 21:06:43 +00:00
mosu
285df3df48 Fix for compilation on mingw32/cygwin. Patch by Goodwu <goodwu@21cn.com>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11140 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-16 07:28:33 +00:00
mosu
0c2f4a3989 Clear subs a bit later than requested in order to avoid clearing the subs if the following entry starts exactly after this one. Patch by Jarrod Johnson <jbj-mplayer@ura.dnsalias.org>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11129 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-15 16:46:55 +00:00
mosu
f446200df1 More liberal codec id recognition for AC3 codecs (needed for transcoded DNET from RM).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11115 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-14 13:45:31 +00:00
alex
7ebac3e90b 10l found by Mark Berryman <mplayer@theberrymans.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11110 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-14 09:59:46 +00:00
lumag
1e880aa659 FLAC decoding support via imported libmpflac.
TODO: fix FLAC-in-ogg decoding.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11005 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-04 22:00:25 +00:00
gabucino
fadce2d781 many small typo and grammar fixes
Based on Bernard Leak's mail <bernard 4t brenda-arkle.demon.co.uk>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11001 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-04 17:29:08 +00:00
mosu
e6a5c8442b Backwards compatibility fix for old SSA CodecIDs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10985 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-02 19:02:28 +00:00
rfelker
aee0faef0a simple fix for buffer overflow (remotely exploitable). feel free to
commit a better fix if you don't like it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10940 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-25 00:36:04 +00:00
rsf
d7f68d1212 Changed the criteria for when to drop RTP packets whose timestamp is too far
behind that of the other (audio or video) stream.  Now, this is done only
if both streams have been synchronized using RTCP.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10938 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-24 08:41:57 +00:00
mosu
1e66b2ec01 Fix for imprecise floating point calculations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10931 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-22 13:53:29 +00:00
lumag
175884718b Fixed 'reading after EOF'. demuxers didn't check, how many they've read!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10892 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-20 12:50:25 +00:00
mosu
6df04eae85 Fix for borked .mov files with bogus user data length values. Patch by Marek Zelem.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10889 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-20 10:10:11 +00:00
faust3
57e119d8be get_percent_pos support in demux_audio, patch by ROSEN Jeremy <jeremy.rosen at c-s.fr>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10883 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-19 19:40:46 +00:00
mosu
6fcc59b42f Different decision making for seeking which takes the direction into account.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10875 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-15 21:03:49 +00:00
mosu
cfb890259e Marked SSA subs as UTF-8. Better newline handling for SSA subs. Patch by Tristan <z80@oceanfree.net>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10862 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-12 21:56:03 +00:00
mosu
45a22abd6c Improved backwards seeking for small seek steps. Patch by matthieu <mat100@ifrance.com>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10861 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-12 21:47:28 +00:00
pl
251a522662 warning fix (missing C initializers)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10859 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-12 15:55:45 +00:00
henry
da6a021b74 1000l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10853 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-12 08:10:32 +00:00
henry
d35a921a55 yet another sync fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10852 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-11 21:05:16 +00:00
mosu
d078c2bbf1 Fixed seeking in MPEG4 files. Patch by Uwe Reder <Uwe.Reder@3SOFT.de>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10850 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-11 09:05:54 +00:00
mosu
c80808b5a3 Support for SSA text subs in Matroska. Patch partially by Tristan <z80@oceanfree.net>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10846 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-10 12:50:29 +00:00
mosu
2982f7b1d4 Support for Quicktime stuff in Matroska (e.g. Sorenson, QDesign Music codecs etc.).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10845 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-10 11:39:40 +00:00
mosu
a024a14660 Fix a gcc 3.x crash when compiling demux_ts.c with -g -O4 (or -O3). Patch by Arpi.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10842 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-08 10:07:52 +00:00
alex
8d49e37b89 plen=0 is handled
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10833 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-07 01:41:09 +00:00
alex
5ddc6023e2 audio id setting support for bsdbt848 by Nikolay Nikolaev <nicknickolaev@yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10823 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-06 00:24:05 +00:00
henry
0c5802cfa0 10l - forgotten gettimeofday
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10811 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-05 10:35:00 +00:00
alex
e7b04943ad cdda && cddb aren't uris too (hopefully all the pseudo urls are catched before url_new())
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10808 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-03 19:26:33 +00:00
mosu
676d664756 Do not automatically select a subtitle stream for display.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10801 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-02 16:35:39 +00:00
mosu
2445e00ca2 Support for grayscale paletted files. Patch by Dima K <dimakar@yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10797 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-02 14:48:49 +00:00
albeu
a695d492af Fix immediatemode with mplayer (ie playing both sound and video)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10777 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-01 12:10:29 +00:00