summaryrefslogtreecommitdiffstats
path: root/libmpdemux
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Added some optional debugging printfs (disabled by default)rsf2003-04-021-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9787 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix compilation without TV supportfaust32003-03-311-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9774 b3059339-0415-0410-9bf9-f77b7e298cf2
* MINGW32 portfaust32003-03-301-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9763 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix test compilationalbeu2003-03-302-2/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9755 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix all demuxers wich where using a global var to enable themself.albeu2003-03-301-19/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9752 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set deuxer_type instead of using our own global var.albeu2003-03-301-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9751 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use new config headersalbeu2003-03-302-10/+11
| | | | | | | Remove STREAMTYPE_PLAYLIST. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9750 b3059339-0415-0410-9bf9-f77b7e298cf2
* Stream cleanup, don't use blah_on options anymore.albeu2003-03-304-22/+56
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9747 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10L, close isn't enouth we must munmap too.albeu2003-03-301-1/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9746 b3059339-0415-0410-9bf9-f77b7e298cf2
* Switch to the new config headeralbeu2003-03-271-1/+3
| | | | | | | Fix the chapter==0 bug when playing a list of title git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9713 b3059339-0415-0410-9bf9-f77b7e298cf2
* Free the stream of the audio and subtitle demuxer.albeu2003-03-271-2/+10
| | | | | | | It's a bit of a hack, but atm it's the best place to free them. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9711 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix rawvideo and -audiofilealbeu2003-03-271-6/+22
| | | | | | | | Use the new config header Add a cache for the stream used by -audiofile git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9710 b3059339-0415-0410-9bf9-f77b7e298cf2
* on now set the demuxer type some we can use rawvideo with -audiofilealbeu2003-03-271-9/+12
| | | | | | | | Add the pts, it was always 0 :( Switch to the new config header git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9709 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a 100L bug wich killed mencoder timing and switch to the newalbeu2003-03-271-4/+5
| | | | | | | config header git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9708 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, found by Jan Kritzner <kritzner@informatik.rwth-aachen.de>alex2003-03-261-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9694 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added IPv6 support, patch by Dave Lambley ↵bertrand2003-03-261-21/+121
| | | | | | <mplayer-dev-eng@dlambley.freeserve.co.uk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9692 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added support for IPv6 numeric url like: http://[3ffe:400:100::1]:80/filebertrand2003-03-262-14/+28
| | | | | | | Added const for arguments that shouldn't be changed git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9691 b3059339-0415-0410-9bf9-f77b7e298cf2
* color equalizer for tv inputhenry2003-03-233-4/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9664 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed trivial seeking bugs, patch by Krister Lagerstrom <krister@kmlager.com>alex2003-03-221-1/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9657 b3059339-0415-0410-9bf9-f77b7e298cf2
* Warning fix, patch by Dominik Mierzejewskyrtognimp2003-03-221-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9656 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix crash on streams with frame tags, patch by Brett Kosinski ↵alex2003-03-221-1/+2
| | | | | | <brettk@frodo.dyn.gno.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9655 b3059339-0415-0410-9bf9-f77b7e298cf2
* wrong assignment of codec, patch by nsabbi@libero.italex2003-03-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9639 b3059339-0415-0410-9bf9-f77b7e298cf2
* report TRUE for IS_AUDIO control when user forces the audio recordinghenry2003-03-211-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9635 b3059339-0415-0410-9bf9-f77b7e298cf2
* largefile support by Matthias Schwarzott <zzam@gmx.de>alex2003-03-211-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9631 b3059339-0415-0410-9bf9-f77b7e298cf2
* replace sys_errlist with strerror() by Ivan Szantohenry2003-03-201-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9625 b3059339-0415-0410-9bf9-f77b7e298cf2
* hardware mjpeg encoding using v4l by Iván Szántó <szivan@freemail.hu>henry2003-03-193-1/+191
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9621 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l cbSize not inited for l=16.\n Could give problem in print_wave_headerrtognimp2003-03-171-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9617 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000larpi2003-03-171-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9616 b3059339-0415-0410-9bf9-f77b7e298cf2
* dvbin_param_on movedarpi2003-03-162-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9612 b3059339-0415-0410-9bf9-f77b7e298cf2
* this is a combo patch that:arpi2003-03-1612-4/+2660
| | | | | | | | | | | | 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
* remove the lower boundaryhenry2003-03-161-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9610 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanups and some 10l fixes for previous commithenry2003-03-161-41/+44
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9609 b3059339-0415-0410-9bf9-f77b7e298cf2
* correct small framerate fluctuations directly in the capture threadhenry2003-03-151-1/+47
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9608 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch corrects the calculation of the MPEG bitrate from thearpi2003-03-151-3/+3
| | | | | | | | | sequence header. The bitrate contained in the sequence header is in units of 400 bits/s, not 500. Eric Lammerts <eric@lammerts.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9607 b3059339-0415-0410-9bf9-f77b7e298cf2
* Same behaviour as old code for short headersrtognimp2003-03-151-2/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9597 b3059339-0415-0410-9bf9-f77b7e298cf2
* Read extradata for wav files, based on patch by <dimakar(at)yahoo.com>. ↵rtognimp2003-03-151-5/+16
| | | | | | Required for truespeech files. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9592 b3059339-0415-0410-9bf9-f77b7e298cf2
* Animatrix AAC fix, patch by <dimakar(at)yahoo.com>. (This is the right patch)rtognimp2003-03-151-5/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9591 b3059339-0415-0410-9bf9-f77b7e298cf2
* Animatrix AAC fix, patch by <dimakar(at)yahoo.com>rtognimp2003-03-121-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9576 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improved RTP packet buffering, by relying on the underlying OS's UDPrsf2003-03-113-221/+336
| | | | | | | | | | socket buffering. Improve A/V sync by dropping packets when one stream gets too far behind the other. Now tries to figure out the video frame rate automatically (if "-fps" is not used). Added support for MPEG-4 Elementary Stream video and MPEG-4 Generic audio RTP streams. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9566 b3059339-0415-0410-9bf9-f77b7e298cf2
* - fixed playback of files with bad WxH in header (tricky! we can always read thearpi2003-03-101-16/+32
| | | | | | | | | | secondary WxH values, but only the codec can decide which one is the correct...) - better fps parsing - print VIDEO: line with codec info based on patch by Balatoni Denes <pnis@coder.hu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9562 b3059339-0415-0410-9bf9-f77b7e298cf2
* Hopefully fixed all RV30/RV40 A-V sync issuesarpi2003-03-091-9/+24
| | | | | | | based on patch by Balatoni Denes <pnis@coder.hu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9556 b3059339-0415-0410-9bf9-f77b7e298cf2
* Redundant packet ignoring is RV30-only (at least frame-header flag 0x20 is)arpi2003-03-091-2/+2
| | | | | | | | noticed by Balatoni Denes <pnis@coder.hu> [sample files: pro: DISK1.RM contra: spygames-2MB.rmvb] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9554 b3059339-0415-0410-9bf9-f77b7e298cf2
* rv40 pict_type parsermichael2003-03-071-5/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9544 b3059339-0415-0410-9bf9-f77b7e298cf2
* Dynamic decision of DVD device Darwin patch by (danchr at daimi dot au dot dk)michael2003-03-051-4/+27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9536 b3059339-0415-0410-9bf9-f77b7e298cf2
* add support for sgi files to mencoder patch by (Todd Kirby <slapcat at ↵michael2003-03-051-1/+3
| | | | | | pacbell dot net>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9535 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10L never blowup an option pointer !!!!albeu2003-03-031-2/+3
| | | | | | | That fix Gub's bug (sorry for the delay ;) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9520 b3059339-0415-0410-9bf9-f77b7e298cf2
* MACOSX support patch, based on Dan Christiansens workalex2003-02-251-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9503 b3059339-0415-0410-9bf9-f77b7e298cf2
* make tv non-seekablehenry2003-02-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9502 b3059339-0415-0410-9bf9-f77b7e298cf2
* commented out nonsensealex2003-02-211-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9473 b3059339-0415-0410-9bf9-f77b7e298cf2
* gif library incompatibility fixes and prefere libungif over libgif. Patch by ↵alex2003-02-191-0/+13
| | | | | | Joey Parrish <joey@nicewarrior.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9464 b3059339-0415-0410-9bf9-f77b7e298cf2
* Repairing breakage to RTP streaming. Patch by Ross Finlayson ↵bertrand2003-02-182-7/+14
| | | | | | <finlayson@live.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9458 b3059339-0415-0410-9bf9-f77b7e298cf2
* enabling mpeg4-es autodetection (if we dont enable it, then we will never ↵michael2003-02-161-1/+1
| | | | | | know if it works ...) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9447 b3059339-0415-0410-9bf9-f77b7e298cf2
* linux->osdeparpi2003-02-093-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9381 b3059339-0415-0410-9bf9-f77b7e298cf2
* Motion-JPEG RTP streams can now be played. Some MPEG-4 ES video RTParpi2003-02-092-3/+11
| | | | | | | | streams can also be played. patch by Ross Finlayson <finlayson@live.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9371 b3059339-0415-0410-9bf9-f77b7e298cf2
* compile fixhenry2003-02-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9346 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1) codecs.conf changed recently and demux_gif no longer needs to spitarpi2003-02-081-11/+7
| | | | | | | | | | | | | out BGR8 upside-down. the workaround for this is removed. 2) fixes a bug so that streaming gifs now works, and removes a workaround no longer needed. now libgif uses mplayer's stream_read function and thus http streaming, etc, works with demux_gif. 3) cosmetic clean-up because i no longer plan to support certain GIF extensions that would be more difficult to implement. patch by Joey Parrish <joey@nicewarrior.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9345 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable num_of_packets check, it's unreliablearpi2003-02-041-0/+2
| | | | | | | (multiple bugreports on -users) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9274 b3059339-0415-0410-9bf9-f77b7e298cf2
* Restruct by Ross Finlayson <finlayson@live.com>bertrand2003-02-034-164/+341
| | | | | | | | | The code now supports 'QuickTime generic' RTP streams (the "X-QT" MIME type), which - thanks to the QuickTime codecs - makes it possible to play more QuickTime RTP streams. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9251 b3059339-0415-0410-9bf9-f77b7e298cf2
* - ignore movi_end if reading from stdinarpi2003-02-021-6/+6
| | | | | | | - assume I-only stream if no index (buggy seekable avi is still better than non-seekable) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9229 b3059339-0415-0410-9bf9-f77b7e298cf2
* debugarpi2003-02-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9222 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix default device (manpage says /dev/video0, /dev/video often is a directory)colin2003-02-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9217 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix off-by-one error messagecolin2003-02-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9216 b3059339-0415-0410-9bf9-f77b7e298cf2
* xmms_demuxer missing symbolarpi2003-02-021-0/+1
| | | | | | | patch by Balatoni Denes <pnis@coder.hu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9212 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l... ogg-in-avi (type 0xFFFE) fixarpi2003-01-291-6/+7
| | | | | | | | sizeof(WAVEFORMATEX) is 18, since i've fixed struct align, so 2*sizeof(WAVEFORMATEX) is !=40 any more. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9164 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed nonsense (and confusing) defaultsarpi2003-01-281-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9150 b3059339-0415-0410-9bf9-f77b7e298cf2
* type autodetection (from filemask/filelist extension)arpi2003-01-281-1/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9149 b3059339-0415-0410-9bf9-f77b7e298cf2
* - mpeg extensions removed, it causes misdetction of renamed avi/asf filesarpi2003-01-281-5/+6
| | | | | | | | | - .mp4 added - playlist exts removed, since DEMUX_TYPE_PLAYLIST is dummy, it will never return demuxer!=NULL git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9135 b3059339-0415-0410-9bf9-f77b7e298cf2
* argh, i forgot to 'cvs add' it (again)arpi2003-01-281-0/+213
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9134 b3059339-0415-0410-9bf9-f77b7e298cf2
* libgif/libungif based demuxer support for libmpdemux.arpi2003-01-284-2/+36
| | | | | | | patch by Joey Parrish <joey@nicewarrior.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9130 b3059339-0415-0410-9bf9-f77b7e298cf2
* Attached PATCH fixes the case, when data-flag and reference flags are set andarpi2003-01-271-1/+1
| | | | | | | | | mplayer exits the demuxer with error (return 0), but without giving a reason As QT-Specs say in this case the reference shuld be used, I fixed it that way. Fabian Franz <FabianFranz@gmx.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9126 b3059339-0415-0410-9bf9-f77b7e298cf2
* 32 bpp is a valid color depth. Fixes 0-bit rle reportsrtognimp2003-01-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9114 b3059339-0415-0410-9bf9-f77b7e298cf2
* added TVI_CONTROL_TUN_SET_NORMgabucino2003-01-261-0/+2
| | | | | | | | (making the 'dummy' v4l driver work again) (however on channel switch it goes sig11 in key_events somebody pls fix) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9095 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetic for 0.90, printf->mp_msg (hm..probably arpi will piss of me?:)alex2003-01-241-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9080 b3059339-0415-0410-9bf9-f77b7e298cf2
* raw mpeg4-es support (you need to set -fps manually!)arpi2003-01-234-8/