summaryrefslogtreecommitdiffstats
path: root/libmpdemux/stream.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert all if(verbose>X) to mp_msg_test calls.diego2006-03-241-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a potential seek failure, fill_buffer doesn't have toalbeu2006-03-161-2/+4
| | | | | | | fill the whole buffer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17879 b3059339-0415-0410-9bf9-f77b7e298cf2
* stream_control() returns int, not voidnicodvb2006-03-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17713 b3059339-0415-0410-9bf9-f77b7e298cf2
* added new stream_control() and new command: STREAM_CTRL_GET_TIME_LENGTHnicodvb2006-02-271-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17697 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix compilation when dvdkit and dvdread are not availablenicodvb2005-12-141-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17192 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include path handling, -I.. is in CFLAGS.diego2005-11-181-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make a few more messages translatable by moving them into help_mp-en.h.diego2005-10-181-1/+1
| | | | | | | patch by Paul TT < paultt == at == hackerjournal == dot == it > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16794 b3059339-0415-0410-9bf9-f77b7e298cf2
* Kill a compiler warning, Patch by Zuxy Menggpoirier2005-10-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16763 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use PRI?64 defines as format strings for 64 bit variables.reimar2005-10-131-12/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16751 b3059339-0415-0410-9bf9-f77b7e298cf2
* "LIVE.COM Streaming Media" is now called "LIVE555 Streaming Media".rsf2005-09-231-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16573 b3059339-0415-0410-9bf9-f77b7e298cf2
* ported all network streams to the new APInicodvb2005-05-291-0/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15586 b3059339-0415-0410-9bf9-f77b7e298cf2
* ported smb:// to the new stream apinicodvb2005-05-191-25/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15521 b3059339-0415-0410-9bf9-f77b7e298cf2
* ported dvd:// to the new stream apinicodvb2005-05-191-50/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15519 b3059339-0415-0410-9bf9-f77b7e298cf2
* ported cue:// to the new stream api; note: this stream must still be ↵nicodvb2005-05-151-10/+2
| | | | | | optimized in its read() and seek() functions git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15477 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix segfaults caused by socket and file descriptor mismatches on windowsfaust32005-05-121-1/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15422 b3059339-0415-0410-9bf9-f77b7e298cf2
* added a stream module for the vstream client libraryjoey2005-02-271-0/+6
| | | | | | | 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
* Seek in HTTP streams and stdin seek fixesrtognimp2004-03-131-1/+1
| | | | | | | Patch by eviv bulgroz <ebulgroz(at)yahoo(dot)com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12019 b3059339-0415-0410-9bf9-f77b7e298cf2
* enable seeking in http streamsattila2004-02-171-0/+8
| | | | | | | patch by Valentine Zaretsky <valik+mplayerdev@email.dp.ua> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11966 b3059339-0415-0410-9bf9-f77b7e298cf2
* serious bugs - 1l absinth (changed to absinth against cola inflation)alex2003-08-311-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10736 b3059339-0415-0410-9bf9-f77b7e298cf2
* ftp support. The change on connect2Server is needed bcs we need 2albeu2003-08-151-1/+6
| | | | | | | different level of verbosity for control and data connections. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10626 b3059339-0415-0410-9bf9-f77b7e298cf2
* this patch fixesarpi2003-08-111-12/+8
| | | | | | | | | | | | | 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
* Networking support under MinGW.diego2003-06-111-1/+20
| | | | | | | Patch by flo/yepyep <flodt8@yahoo.de>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10282 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes by Dominikalex2003-06-031-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10243 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changed the STREAMING defines to MPLAYER_NETWORK to avoid name definition clash.bertrand2003-05-171-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10122 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix cache uninitalbeu2003-04-121-4/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9916 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a null streamv Currently used for tv and mf. Could be used toalbeu2003-04-101-0/+2
| | | | | | | 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
* Port vcd to the new APIalbeu2003-04-091-30/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9887 b3059339-0415-0410-9bf9-f77b7e298cf2
* Oops, I just noticed albeu's revision 1.58 - so I backed out thersf2003-04-071-1/+1
| | | | | | | | "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
* Reapplied the patch that I had originally made in revision 1.53.rsf2003-04-071-1/+1
| | | | | | | (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
* Add netstreamalbeu2003-04-061-2/+9
| | | | | | | | | | 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
* 10L NULL == 0 == stdinalbeu2003-04-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9827 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lpontscho2003-04-031-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9811 b3059339-0415-0410-9bf9-f77b7e298cf2
* URL is cdda://tracks[:speed][/device]albeu2003-04-021-21/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9802 b3059339-0415-0410-9bf9-f77b7e298cf2
* MINGW32 portfaust32003-04-021-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9799 b3059339-0415-0410-9bf9-f77b7e298cf2
* Stream modularization, the first step.albeu2003-04-021-11/+128
| | | | | | | 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
* Added a test for "s->fd == NULL" to the start of "stream_fill_buffer()".rsf2003-04-021-1/+1
| | | | | | | | | | | | ("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
* this is a combo patch that:arpi2003-03-161-0/+15
| | | | | | | | | | | | 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
* linux->osdeparpi2003-02-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9381 b3059339-0415-0410-9bf9-f77b7e298cf2
* check if seeking supported, otherwise fallback to null readingarpi2003-01-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8930 b3059339-0415-0410-9bf9-f77b7e298cf2
* vcd_read_cue.h -> cue_read.c+harpi2003-01-051-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8813 b3059339-0415-0410-9bf9-f77b7e298cf2
* cdrwin-style bin/cue VCD image support (-vcd <track> -cuefile file.cue)arpi2003-01-041-0/+10
| | | | | | | patch by Robert Penz <robert.penz@outertech.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8783 b3059339-0415-0410-9bf9-f77b7e298cf2
* CDDA seeking fixedarpi2002-12-221-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8525 b3059339-0415-0410-9bf9-f77b7e298cf2
* dvd_* declarations fixed to matc with open.carpi2002-12-041-2/+2
| | | | | | | noticed by Tomas Hurka <tom@hukatronic.cz> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8345 b3059339-0415-0410-9bf9-f77b7e298cf2
* smb:// (samba client) support by Vladimir Moushkov <vlindos_mpdev@abv.bg>arpi2002-10-061-0/+21
| | | | | | | TODO: add libsmb* detection and #define LIBSMBCLIENT to ./configure ! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7631 b3059339-0415-0410-9bf9-f77b7e298cf2
* stream layer cleanup part 2arpi2002-09-151-5/+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
* stream layer cleanup - part 1arpi2002-09-151-0/+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
* removed obsolete VCD_CACHE hackarpi2002-09-151-15/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7407 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10000l - didn't clear new stream struct, causing possible sig11 in cache layerarpi2002-08-041-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6893 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixesatmos42002-07-261-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6815 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10L free the cachealbeu2002-07-261-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6811 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add uninit to the dvd stream.albeu2002-06-211-1/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6480 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for playing audio cds using cdparanoia. Include a raw audioalbeu2002-06-111-0/+22
| | | | | | | demuxer wich can be used for other purpose. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6385 b3059339-0415-0410-9bf9-f77b7e298cf2
* file descriptor leak - found by Marc Espie <espie@nerim.net>arpi2002-06-041-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6301 b3059339-0415-0410-9bf9-f77b7e298cf2
* big cosmetics patch, cleanup of messages printed by mplayer and libs.arpi2002-05-201-1/+1
| | | | | | | | 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
* gui doesn't like exit() in forged processarpi2002-05-051-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5983 b3059339-0415-0410-9bf9-f77b7e298cf2
* OpenBSD, NetBSD portability patches byarpi2002-04-271-0/+2
| | | | | | | | | 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
* dvdnav functions moved out to dvdnav_steram.carpi2002-04-031-94/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5473 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l fix, patch by Mark Szabo <mw3@bsd.hu>arpi2002-03-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5383 b3059339-0415-0410-9bf9-f77b7e298cf2
* DVDnav support patch by David Holm and Kees Cook <mplayer@outflux.net>arpi2002-03-281-0/+99
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5381 b3059339-0415-0410-9bf9-f77b7e298cf2
* Initial ogg demuxer. No seeking, a/v sync is broken. Support avialbeu2002-03-161-0/+9
| | | | | | | with ogg/vorbis audio. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5134 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added waitpid in free_stream to avoid zombiesalbeu2002-02-281-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4894 b3059339-0415-0410-9bf9-f77b7e298cf2
* overwrite old infonexus2002-02-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4465 b3059339-0415-0410-9bf9-f77b7e298cf2
* STREAMTYPE_PLAYLIST introduced. similar to STREAMTYPE_STREAM but used for ↵arpi2002-01-081-0/+1
| | | | | | playlists. patch by Alban Bedel <albeu@free.fr> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4043 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed startup crashiive2001-12-031-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3292 b3059339-0415-0410-9bf9-f77b7e298cf2
* using #ifdef HAVE_VCDarpi2001-12-011-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3262 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added a network read function call and a seek network function call.bertrand2001-11-201-0/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3045 b3059339-0415-0410-9bf9-f77b7e298cf2
* added tv subsystemalex2001-11-091-0/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2791 b3059339-0415-0410-9bf9-f77b7e298cf2
* cache2 supportarpi2001-10-201-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2323 b3059339-0415-0410-9bf9-f77b7e298cf2
* libdemuxer...arpi2001-10-201-0/+188
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2311 b3059339-0415-0410-9bf9-f77b7e298cf2