1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-02 04:42:10 +00:00
Commit Graph

68 Commits

Author SHA1 Message Date
albeu
c748950c9f Fix a potential seek failure, fill_buffer doesn't have to
fill the whole buffer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17879 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-16 14:24:22 +00:00
nicodvb
fe7694f7a7 stream_control() returns int, not void
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17713 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-01 21:56:30 +00:00
nicodvb
22226f94df added new stream_control() and new command: STREAM_CTRL_GET_TIME_LENGTH
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17697 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-27 21:06:47 +00:00
nicodvb
3d91be0230 fix compilation when dvdkit and dvdread are not available
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17192 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-14 21:52:41 +00:00
diego
36e1974be0 Unify include path handling, -I.. is in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-18 14:39:25 +00:00
diego
f7e307ee4d Make a few more messages translatable by moving them into help_mp-en.h.
patch by Paul TT < paultt == at == hackerjournal == dot == it >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16794 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-18 11:11:25 +00:00
gpoirier
719baa4502 Kill a compiler warning, Patch by Zuxy Meng
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16763 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-14 12:41:15 +00:00
reimar
169416fd51 Use PRI?64 defines as format strings for 64 bit variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16751 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-13 18:33:56 +00:00
rsf
b383ffa4b7 "LIVE.COM Streaming Media" is now called "LIVE555 Streaming Media".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16573 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-23 22:35:04 +00:00
nicodvb
83b3c822be ported all network streams to the new API
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15586 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-29 12:54:00 +00:00
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