1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-18 21:31:13 +00:00
Commit Graph

560 Commits

Author SHA1 Message Date
arpi
9954e006ae - simpler http_response_append (uses realloc())
- http_response_append addes extra 0 byte to close teh string
  (some functions like http_is_header_entire() use standard string
  functions like strstr which requires trailing zero)
- check for NULL string in http_is_header_entire()


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7294 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-06 00:03:16 +00:00
bertrand
08ee46ae5d Humm, only if __DEBUG_URL is defined, declare the prototype...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7280 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-05 05:04:12 +00:00
bertrand
139bb71285 Applied patch for OpenBDS from Marc Espie (submitted by Björn Sandell <biorn@dce.chalmers.se>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7270 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-04 17:46:03 +00:00
bertrand
97afbee906 - If fatal error while trying to connect to a WM server, skip other proto.
- Fix that makes mplayer works with corona(WMS9) servers.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7253 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-03 01:32:13 +00:00
bertrand
8925019760 Return -2 for fatal error while connecting to a server.
Fatal are unable to resolve name, connection timeout...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7252 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-03 01:29:44 +00:00
bertrand
c5cc04f2c8 Checked if the connection succeeded before writing in the socket.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7251 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-03 01:25:31 +00:00
arpi
d53dbde7a4 gcc 2.95.4 doesn't like VAR==value without spaces
patch by Martin Olschewski <olschewski@zpr.uni-koeln.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7246 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-02 19:19:56 +00:00
alex
d8cd6b2057 removed obsolete items
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7233 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-01 18:23:18 +00:00
arpi
74dbe1d838 audio in layer is used only bu tvi_v4l, don't compile for others.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7214 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-31 22:41:29 +00:00
arpi
4788615827 user-data moved one -v up
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7209 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-31 18:31:05 +00:00
atmos4
119841635b fix cache disable for live.com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7205 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-31 15:59:10 +00:00
arpi
6740811112 removed buggy fd<0 check for disallowing dumpstream/cache
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7203 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-31 15:44:41 +00:00
arpi
42a6e2398e 1000l - libmpdvdkit2 fix, thx Nexus
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7197 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-31 14:01:46 +00:00
arpi
7caf8770b8 assume $(CC) can compile c++ - fixes compile with non-default compiler
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7169 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-30 14:35:17 +00:00
alex
c2b67a610b v4l audio fixes by Jindrich Makovicka <makovick@KMLinux.fjfi.cvut.cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7164 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-30 11:37:42 +00:00
arpi
354fc0e75c 10l bug, found by Nexus
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7150 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-29 21:37:45 +00:00
arpi
ae8ff3e445 use dir/libname.a instead of -Ldir -lname
partially done by "Steven M. Schultz" <sms@2BSD.COM>
Note: some entries (libmpdvdkit, libdha) left unchanged as they may be
dynamic and not shipped with mplayer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7149 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-29 21:30:57 +00:00
arpi
39f2bf39d5 new mencoder option -info, to store copyright, title, encoder version etc in AVI
based on patch by "Andriy N. Gritsenko" <andrej@lucky.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7146 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-29 20:50:49 +00:00
arpi
978bfc3003 fixed RIFF chunk size - patch by "Andriy N. Gritsenko" <andrej@lucky.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7145 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-29 20:21:59 +00:00
arpi
d4197da915 - Tell the RTSP client code to use the string "mplayer" in RTSP
"User-Agent:" fields.  NOTE: This requires an up-to-date version of the
LIVE.COM Streaming Media libraries.
- Fix a bug that could cause mplayer to crash on exit if a "rtsp://" URL was bad.
patch by Ross Finlayson <finlayson@live.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7144 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-29 20:19:33 +00:00
bertrand
a7d15a362b inet_aton fallback support by Joey Parrish <joey@yunamusic.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7136 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-29 07:07:12 +00:00
arpi
0f4f7e27cf mostly compiler warning fixes, some small bugfix
patch by Dominik Mierzejewski <dominik@rangers.eu.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7128 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-28 22:45:48 +00:00
alex
ac943f379a fixes problems when new line is just '\n' and not '\r\n' and enabled html-markup ignore. Patch by Piotr Krukowiecki <piotr@pingu.ii.uj.edu.pl>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7116 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-28 17:07:55 +00:00
arpi
ce0b26ac75 - added matrix cracking/debugging code - disabled
- use real codec headers for sipr


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7106 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-27 23:01:54 +00:00
alex
c39611bbe9 Martin Olschewski <olschewski@zpr.uni-koeln.de>: [PATCH] ai_oss.c should check for USE_OSS_AUDIO
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7092 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-26 17:20:17 +00:00
arpi
a72f18f463 some files has some shit before teh audio/video headers...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7086 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-25 00:07:15 +00:00
arpi
dae101726e 10l - fixed chunktab size calculation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7085 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-24 23:07:34 +00:00
arpi
17b7e7153b - changed re-muxed packet structure (see struct dp_hdr_t)
now the packets can be encapsulated into avi or other file formats
- skip redundant/resent fragments (bit 0x20 set of first byte of frag)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7082 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-24 22:39:27 +00:00
arpi
177d2185e9 v4l capture update by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
some silly bugs slipped through.. here is the fix


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7071 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-22 23:05:58 +00:00
jaf
ffc97efcb7 fix ai_oss.c compilation on non linux systems - by Bernd Ernesti <mplayer@lists.veego.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7067 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-22 08:05:27 +00:00
arpi
6c724895d6 new v4l capture patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>:
- multithreaded audio/video buffering (I know mplayer crew hates threads
  but it seems to me as the only way of doing reliable a/v capture)
- a/v timebase synchronization (sample count vs. gettimeofday)
- "immediate" mode support for mplayer
- fixed colorspace stuff - RGB?? and YUY2 modes now work as expected
- native ALSA audio capture
- separated audio input layer


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7061 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-21 22:50:40 +00:00
arpi
a5bd36cf4b new v4l capture patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>:
- multithreaded audio/video buffering (I know mplayer crew hates threads
  but it seems to me as the only way of doing reliable a/v capture)
- a/v timebase synchronization (sample count vs. gettimeofday)
- "immediate" mode support for mplayer
- fixed colorspace stuff - RGB?? and YUY2 modes now work as expected
- native ALSA audio capture
- separated audio input layer


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7059 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-21 21:31:20 +00:00
arpi
e916844206 ogg (.ogm) text subtitles support
based on patch by Chris Forno <jcore@m-net.arbornet.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7011 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-14 23:41:19 +00:00
arpi
d2673b6e3b - Create and set up a "BITMAPINFOHEADER" and "WAVEFORMATEX" structure for
video and audio (respectively) RTP streams.  (This allows RTP streams that
  use non MPEG codecs to work.)
patch by Ross Finlayson <finlayson@live.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7009 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-14 21:56:31 +00:00
arpi
4fe4fbd1d0 typo fixes by Ross Finlayson <finlayson@live.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7008 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-14 21:55:48 +00:00
arpi
5aff974339 disable cache if stream->fd<0 (no regular file/pipe but some special thing)
Ross Finlayson <finlayson@live.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7007 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-14 21:46:48 +00:00
arpi
99d4526691 corrects an off-by-one error when trying to seek beyond the end of file.
patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7003 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-14 21:25:01 +00:00
arpi
2d55a9e67c RV20 A-V desync fixed - use timestamp hack only for RV30
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6996 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-14 09:15:31 +00:00
arpi
3388a619db RV40 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6983 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-12 00:04:37 +00:00
jaf
161b6c9b49 messages moved again
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6952 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-08 13:55:15 +00:00
arpi
3623d8b5af 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6944 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-06 22:01:45 +00:00
arpi
77d0b6c3f4 detection reordered. note: raw DV detection should be more reliable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6943 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-06 21:21:14 +00:00
arpi
305cbfe923 allow early exit from esds parsing, so decoder info (type & bitrate) are
available even if no codec-specific data or other extras found


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6930 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-05 18:22:51 +00:00
arpi
4831d9f8ad support for .mp4 with .mp3 audio
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6929 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-05 18:22:14 +00:00
arpi
4aed347e68 raw .dv stream demuxer by Alexander Neundorf <neundorf@kde.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6926 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-05 17:21:35 +00:00
arpi
a047181b33 PPC endianess fix by Colin Leroy <colin@colino.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6919 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-05 11:26:26 +00:00
arpi
148c410cc5 fixed 'eof at 66s' bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6917 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-05 03:13:45 +00:00
arpi
fa788640e2 applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
see <http://www.live.com/mplayer/> for details.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6911 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-05 00:39:07 +00:00
arpi
ae0d40780a 10000l - didn't clear new stream struct, causing possible sig11 in cache layer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6893 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-04 13:35:25 +00:00
arpi
e283ac5c3c detection of badly interleaved avi files and auto-switch to -ni
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6885 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-04 01:48:35 +00:00