1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 09:32:40 +00:00
Commit Graph

58 Commits

Author SHA1 Message Date
nicodvb
dbf53f0e46 ported smb:// to the new stream api
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15521 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-19 20:58:11 +00:00
nicodvb
ce3e408e25 ported dvd:// to the new stream api
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15519 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-19 19:50:39 +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
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
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
rtognimp
2aa6acd974 Seek in HTTP streams and stdin seek fixes
Patch by eviv bulgroz <ebulgroz(at)yahoo(dot)com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12019 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-13 16:10:02 +00:00
attila
b603289132 enable seeking in http streams
patch by Valentine Zaretsky <valik+mplayerdev@email.dp.ua>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11966 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-17 12:30:45 +00:00
alex
2c7af5e146 serious bugs - 1l absinth (changed to absinth against cola inflation)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10736 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-31 18:51:05 +00:00
albeu
755e127c26 ftp support. The change on connect2Server is needed bcs we need 2
different level of verbosity for control and data connections.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10626 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-15 19:13:23 +00:00
arpi
d891bc11cc this patch fixes
1)  some bugs introduced in the tuner autodetection and in the channel-parsing functions,
3) retries reading when the mplayer/mencoder don't read fast enough (sooner it exited)
but especially
4) makes the stream compliant with the new, modular stream api (the one
currently in CVS is not and is totally unreachable).
[and maybe more, next time please include cvslog in patch! -- A'rpi]
patch by Nico <nsabbi@libero.it>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10561 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-11 00:02:46 +00:00
diego
6ac4f22567 Networking support under MinGW.
Patch by flo/yepyep <flodt8@yahoo.de>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10282 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-11 16:48:09 +00:00
alex
b4d7f9837c warning fixes by Dominik
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10243 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-03 17:43:49 +00:00
bertrand
ff6a17f203 Changed the STREAMING defines to MPLAYER_NETWORK to avoid name definition clash.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10122 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-17 12:24:01 +00:00
albeu
58ce0ac842 Fix cache uninit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9916 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-12 13:53:33 +00:00
albeu
66ec24b3e7 Add a null streamv Currently used for tv and mf. Could be used to
implement /dev/zero on system how don't have it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9902 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-10 10:59:12 +00:00
albeu
fef9433a4b Port vcd to the new API
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9887 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-09 07:31:11 +00:00
rsf
930f3aa044 Oops, I just noticed albeu's revision 1.58 - so I backed out the
"s->fd == NULL" test once again.  I'll need to come up with some other
way of fixing this so that it works properly on Solaris...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9875 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-07 20:44:06 +00:00
rsf
bb816d137a Reapplied the patch that I had originally made in revision 1.53.
(Someone apparently overlooked it when they checked in a subsequent patch)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9874 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-07 20:41:24 +00:00
albeu
9c0342b897 Add netstream
A little 10L fix
Call control(STREAM_CTRL_RESET)
Close stream fd AFTER calling their close function (as some may still
need it during close)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9854 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-06 16:36:17 +00:00
albeu
c8a5ab9ce4 10L NULL == 0 == stdin
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9827 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-04 15:41:00 +00:00
pontscho
d9938992b2 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9811 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-03 12:00:50 +00:00
albeu
6a7e45b586 URL is cdda://tracks[:speed][/device]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9802 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-02 19:29:26 +00:00
faust3
d59b2c345d MINGW32 port
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9799 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-02 16:52:00 +00:00
albeu
9533d5ea3a Stream modularization, the first step.
Only file stream are converted atm, other will come later.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9795 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-02 16:25:07 +00:00
rsf
bbb4b7b18f Added a test for "s->fd == NULL" to the start of "stream_fill_buffer()".
("fd" is NULL if the session is defined by a SDP file, for example.)
It turns out that this test is necessary only for Solaris, not Linux,
because in Linux, "s->eof" got set after the prior (failing) call to
"lseek()" in "stream_seek_long()".  In Solaris, however, "lseek(NULL, ...)"
returns 0 (go figure!) rather than -1, so "s->eof" doesn't get set in
"stream_seek_long()".


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9788 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-02 01:46:47 +00:00
arpi
5c49cd8e07 this is a combo patch that:
1) adds an experimental TS demuxer to mplayer
2) adds an input (streaming) interface from DVB cards.
It compiles and runs with the following versions of the drivers:
dvb-kernel (HEAD) (with stock kernel 2.4.20) and 0.9.4 (with kernel 2.4.18)
patch by Nico <nsabbi@libero.it>
some cleanups, ts demuxer fixes by me


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9611 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-16 20:13:28 +00:00
arpi
7ff83a7181 linux->osdep
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9381 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-09 20:18:23 +00:00
arpi
a3ebbb1025 check if seeking supported, otherwise fallback to null reading
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8930 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-12 20:16:28 +00:00
arpi
9516427baa vcd_read_cue.h -> cue_read.c+h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8813 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-05 23:51:05 +00:00
arpi
43b7a734ff cdrwin-style bin/cue VCD image support (-vcd <track> -cuefile file.cue)
patch by Robert Penz <robert.penz@outertech.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8783 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-04 20:11:06 +00:00
arpi
93bc457163 CDDA seeking fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8525 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-22 17:22:48 +00:00
arpi
a0ced69860 dvd_* declarations fixed to matc with open.c
noticed by Tomas Hurka <tom@hukatronic.cz>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8345 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-04 21:30:24 +00:00
arpi
632b8e8edd smb:// (samba client) support by Vladimir Moushkov <vlindos_mpdev@abv.bg>
TODO: add libsmb* detection and #define LIBSMBCLIENT to ./configure !


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7631 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-06 18:03:12 +00:00
arpi
eafdad4b73 stream layer cleanup part 2
STREAMTYPE_TV removed, use STREAMTYPE_DUMMY instead. tv init moved to demux_open


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7409 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-15 20:51:55 +00:00
arpi
4ccfe264a3 stream layer cleanup - part 1
STREAMTYPE_MF removed, using STREAMTYPE_DUMMY instead
mf.c/demux_mf updated to do the opening in demux_open instead of stream_open


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7408 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-15 19:47:49 +00:00
arpi
860a224184 removed obsolete VCD_CACHE hack
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7407 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-15 18:48:16 +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
atmos4
1036563da9 warning fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6815 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-26 04:04:51 +00:00
albeu
c46636cafb 10L free the cache
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6811 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-26 02:32:41 +00:00
albeu
d546cf983f Add uninit to the dvd stream.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6480 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-21 16:26:40 +00:00
albeu
3be2d75562 Support for playing audio cds using cdparanoia. Include a raw audio
demuxer wich can be used for other purpose.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6385 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-11 14:29:51 +00:00
arpi
3859bbd9fe file descriptor leak - found by Marc Espie <espie@nerim.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6301 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-04 19:17:52 +00:00
arpi
c835270280 big cosmetics patch, cleanup of messages printed by mplayer and libs.
some printf->mp_msg conversion, and some debug messages moved from warn/info to v/dbg2
mplayer's output is now shorter, readable and consistent


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6139 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-20 03:25:26 +00:00
arpi
19fecf9671 gui doesn't like exit() in forged process
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5983 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-05 16:22:59 +00:00
arpi
30d0116d16 OpenBSD, NetBSD portability patches by
Björn Sandell <biorn@dce.chalmers.se>
Marcus <core@antbear.org>
Bernd Ernesti <mplayer@lists.veego.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5873 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-27 22:42:27 +00:00
arpi
6996ef47c5 dvdnav functions moved out to dvdnav_steram.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5473 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-03 17:55:31 +00:00
arpi
86bb56a7dc 10l fix, patch by Mark Szabo <mw3@bsd.hu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5383 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-28 23:14:14 +00:00
arpi
5475823f41 DVDnav support patch by David Holm and Kees Cook <mplayer@outflux.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5381 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-28 20:40:21 +00:00
albeu
14316b3379 Initial ogg demuxer. No seeking, a/v sync is broken. Support avi
with ogg/vorbis audio.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5134 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-16 14:32:03 +00:00
albeu
57ef06bcf8 Added waitpid in free_stream to avoid zombies
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4894 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-28 13:50:09 +00:00