Commit Graph

1800 Commits

Author SHA1 Message Date
reimar 0d70ad3248 10l, demux_mpg_control was missing from demuxer info struct, causing audio
switching not to work


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16772 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-15 11:51:37 +00:00
reimar 68371d2985 ugly hack to make it work again with external libdvdread
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16771 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-15 11:47:33 +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
gpoirier d4e6ecfd6a Make FtpSendCmd() function more user friendly by making it append the necessary "\r\n" line break (instead of the caller)
Patch by Zuxy Meng < zuxy POIS meng AH gmail POIS com >
Original thread:
Date: Oct 14, 2005 1:01 PM
Subject: [MPlayer-dev-eng] [PATCH] More user friendly ftp error


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16762 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-14 12:35:30 +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
faust3 1bd75f8c74 we need stdio.h for SEEK_SET on mingw, patch by Zuxy <zuxy.meng at gmail.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16749 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-13 12:13:49 +00:00
reimar 04a30a8f17 Implement seeking
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16746 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-12 21:55:55 +00:00
reimar 379f66aedc Bigendian bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16744 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-12 20:45:52 +00:00
gpoirier f60c6132c2 Typo fix: RFC959 says that FTP commands should end with a carriage return
followed by a line feed.
Patch by Zuxy < zuxy POIS meng AH gmail POIS com>
Original thread:
Date: Oct 10, 2005 10:08 AM
Subject: [MPlayer-dev-eng] [PATCH] Typo in libmpdemux/stream_ftp.c


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16720 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-10 12:56:17 +00:00
gpoirier b136fa417f makes demux_lavf (-demuxer 35) use the framerate specified in the container
if it's set and only fall back to the codec framerate if the former is not
set.
This solves the issue of some avi's playing at 30000/1 fps instead of the
correct framerate.
Patch by Ivo < ivop AH euronet POIS nl >
Original thread:
Date: Sep 25, 2005 12:34 AM
Subject: [MPlayer-dev-eng] [PATCH] make demux_lavf use container framerate


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16719 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-10 05:45:38 +00:00
reimar 6880f9a572 10l, off by one error in last patch (codecdata length sanity check),
caused crashes with qdmc audio.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16680 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-05 14:55:06 +00:00
reimar 21f2437d9b Fix DVD audio and subtitle stream mapping, esp. for DVD with both 4:3 and
16:9 subtitles.
Patch by Lehel Bernadt (lehel at pmc-services hu) with minor modifications.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16650 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-03 14:29:01 +00:00
reimar c82d1bfbd0 10l, forgotten call to paranoia_modeset to actually set the desired mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16636 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-02 16:30:01 +00:00
reimar ce1fc3dcb4 another url_free that shouldn't be commented out.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16615 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-28 15:43:24 +00:00
reimar 58b3c487ec Detect eof when seeking and do _not_ restart the video.
Also fixes some invalid reads.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16614 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-28 15:37:30 +00:00
reimar 03a2df9a8b Report total time
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16613 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-27 19:04:10 +00:00
reimar 47b5a39d38 Sanity-check codecdata_len, fixes crash in libfaad due to failed malloc for
http://images.apple.com/movies/us/hd_gallery/gl1800/480p/the_brothers_grimm_m480pa.mov


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16612 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-27 11:21:13 +00:00
rtognimp 2b04744d21 Don't pass NULL pointers to demux_info_add()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16605 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-26 20:13:10 +00:00
reimar f1e016fb24 the on suboption of -rawaudio and -rawvideo do not work anymore since the
demuxer API rework. So remove them and change the docs to use -demuxer raw*.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16599 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 17:29:45 +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
gpoirier 3b01938238 Prints the numbers of start and end tracks and MSF length for each
track of a VCD when -identify is given.
Patch by kiriuja < mplayer TIREH patches AH en TIREH directo POIS net >
Original Thread:
Date: Sep 11, 2005 3:30 AM
Subject: [MPlayer-dev-eng] [PATCH] -identify VCD tracks


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16548 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-22 08:46:05 +00:00
gpoirier 1134bc63df Prints the number of titles, DVD disk ID, the numbers of chapters and
angles for each title, and the time length of each title if -identify
is given when playing a DVD.
Patch by kiriuja < mplayer TIREH patches AH en TIREH directo POIS net >
Original thread at:
Date: Sep 16, 2005 12:24 AM
Subject: [MPlayer-dev-eng] [PATCH] -identify DVD titles


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16545 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-22 07:40:25 +00:00
alex 00857cf5ce Disassemble comments and pass it to the demux_info interface
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16538 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-19 22:52:03 +00:00
alex 3d37f2a4f3 fix my email address
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16537 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-19 22:47:16 +00:00
gpoirier 55b7fc210e Prints the number of tracks and MSF length for each track of an audio CD,
prints ID_CDDA_TRACK=N output showing the currently played track number
when -identify is given.
Patch by kiriuja < mplayer TIRET patches CHEZ en TIRET directo POIS net >
Doxygen comments by Guillaume POIRIER
Original thread:
Date: Sep 11, 2005 10:49 PM
Subject: Re: [MPlayer-dev-eng] [PATCH] -identify audio CD tracks


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16525 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-19 18:22:09 +00:00
gpoirier c437f82e72 Prints -identify output for:
- video codec of the current file;
- signal numbers;
- demuxer help header.
Patch by  kiriuja <mplayer DATH patches AH en DATH directo POIS net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16523 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-19 16:33:39 +00:00
nicodvb e7bdf32721 removed dependency on glibc's %a in sscanf()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16517 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-18 19:17:23 +00:00
reimar b99cb8d8a5 Fix H264 packetizer. Might not work with arbitrary slice order.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16506 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-17 18:36:43 +00:00
reimar 8771ad0741 add a demux_peekc function that allows to just "have a look" at the next
byte of data from the demuxer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16505 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-17 18:05:55 +00:00
reimar a6f6008e30 Wrong editlist handling: end pts must be included.
Fixes another BBC sample (why is it always BBC samples that break MPlayer??):
http://images.apple.com/movies/us/hd_gallery/gl1800/720p/bbc-africa_m720p.mov


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16497 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-16 11:05:29 +00:00
diego 7b14f06edb Make the fourcc output endianness-independent.
patch by Luca Barbato < lu_zero -- at -- gentoo -- at -- org >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16478 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-13 18:13:58 +00:00
diego 82e1a7303f Avoid duplicated messages from demux_avi.c and demuxer.c.
patch by Luca Barbato < lu_zero -- at -- gentoo -- at -- org >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16477 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-13 18:12:48 +00:00
aurel f8617ee059 cycle through tv channels (patch by Andrew Calkin < calkina at geexbox.org >)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16470 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-12 22:48:14 +00:00
henry b5fc357962 use system videodev2.h instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16444 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-10 18:39:28 +00:00
henry 4655eb7787 - remove useless /dev/video* checks
- add a proper configure check for v4l2
- prepare for videodev2.h removal


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16443 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-10 18:38:23 +00:00
reimar 021f63cd71 Ignore movi_end (except on error) to allow playing growing files.
Also adds a check if stream_read read the requested length.
This and the movi_end check on error help not accidently playing ID3 tags.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16439 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-09 20:05:42 +00:00
reimar d57b55823e We can not seek, so set seekable to 0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16425 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 23:11:30 +00:00
reimar 54aa920577 memleak fix, escfilename was not freed for an invalid url
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16422 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 21:45:40 +00:00
reimar 92850fab06 memleak fixes when using an http proxy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16420 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 21:14:55 +00:00
reimar c871483f14 check4proxies always creates a copy, so url should be freed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16419 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 21:08:36 +00:00
reimar e036d0cf35 memleak fixes when invalid http url specified.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16418 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 21:00:57 +00:00
reimar cb1bcc8b79 better bitrate calculation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16415 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 20:35:14 +00:00
reimar a6c5758715 execute the check function even when a demuxer is forced, to avoid crashes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16414 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 19:50:21 +00:00
reimar aacbf3f8c4 Forgotten mpc demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16413 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 19:46:48 +00:00
reimar b23444d997 Changes forgotten during demuxer API change, introduce a check function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16412 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 19:40:19 +00:00
faust3 ac2c5730ce replace sleep with usec_sleep, required for recent mingw versions, patch by Robert Swain <robert.swain at gmail.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16373 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-03 10:58:52 +00:00
reimar 9a684fa55f faster mpg and much faster gxf demuxing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16370 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-03 08:58:34 +00:00
reimar ab37415f63 10l, typo in last commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16364 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-02 19:31:29 +00:00
reimar d8ba059c02 Support D-Cinema audio demuxer and decoder from FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16363 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-02 19:22:22 +00:00
ods15 d620029e4b Make -identify's 'ID_LENGTH=' print a float and not an integer.. The
accuracey may be totally fake for some demuxers (mpg), but accurate for
others.. (avi)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16347 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-02 08:32:32 +00:00
wanderer ff123e3a88 fix longstanding typo - "patentend"
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16331 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-31 21:13:05 +00:00
reimar e1d1e3bc74 Fix move playlists (control must be returned to mplayer.c, with the demuxer
returning the real URL as a packet).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16327 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-31 13:04:22 +00:00
reimar b03226df69 Sparcs do not like wild pointer typecasting (unaligned access).
Fixes bugzilla bug #365.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16323 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-30 23:59:21 +00:00
reimar 0446e090b1 Allow forcing of demuxers and codecs by prepending '+'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16322 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-30 23:56:24 +00:00
reimar c1f2df8f53 extra size checks for samples array to avoid crashes in some rare cases.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16321 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-30 23:24:47 +00:00
nicodvb 24096d2755 multiplying fps by 10000 is no more necessary (when determining mp4v and h264 framerate)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16320 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-30 22:07:30 +00:00
rtognimp b79c4cc293 Fix nsv detection with new demuxer structure
With old method there was an hack to skip detection for streamed nsv,
because demuxer did the chek only on first 4 bytes and live nsv streams
starts at random place in the file. The detection code was changed to
search for nsv signature in the first 64k of the file.
The check was changed to "unsafe" and thus moved later because now is
more expensive.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16319 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-30 19:06:55 +00:00
rtognimp 16670aff3a Fix mpeg-pes playback
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16315 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-26 22:53:59 +00:00
reimar 655334804b support MPEG in GXF container with extension-based detection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16311 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-26 17:40:02 +00:00
mosu a030e2fe1c Fixed seeking for AVC-in-Matroska (wrong assumption of what kind of references may be present for a non-I-frame).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16303 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-24 12:33:32 +00:00
gpoirier dd4390af8b Crash fix for: "[MPlayer-users] Crash of mencoder in demux_ts.c line 2728"
"The code which crashes looks like its trying to parse the subtitle stream,
 and failing, I assume because dvbsub_lang is a invalid pointer, or null."
Patch by Nico Sabi


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16293 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-23 08:23:53 +00:00
reimar dead4d1193 Do not free demuxer before using demuxer->desc->type (happened when using -audiofile).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16292 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-23 08:03:26 +00:00
henry 5e220d0356 mode fps int vs. float woes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16290 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-22 20:04:42 +00:00
rfelker 6cecdc9916 1000000000000000l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16275 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-19 14:30:24 +00:00
rfelker e704b54632 100l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16274 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-19 14:28:30 +00:00
rtognimp bf7ea6175a 100l: fix avi demuxing for ni and nini cases, allow forcing ni and nini
demuxers


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16212 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-13 12:20:07 +00:00
michael 0589ba3055 video fourcc fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16201 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-11 20:54:09 +00:00
ods15 bfae13d1db demux_avi_control() missing in avi's demuxer struct.
patch by Uoti Urpala (urpala BANG cc MEEP helsinki MEEP fi)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16200 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-11 17:23:45 +00:00
ods15 d59f67f879 fix brokeness caused by demuxer patch, this code is useless for
any case other than avi and should not be run even then.
patch by Uoti Urpala (urpala BANG cc MEEP helsinki MEEP fi)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16199 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-11 17:01:13 +00:00
rfelker 5c416790ce reconcile with earlier fps fix in mpeg header parser
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16193 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-10 01:42:06 +00:00
faust3 94ea9449cc take into account that VIDIOC_S_FMT might return updated parameters
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16187 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-06 19:45:55 +00:00
faust3 40e196f4a6 do not crash when /dev/video0 is not present
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16186 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-06 18:19:58 +00:00
rfelker a6e05bcdbb 100l to whoever wrote this crap using 1/10000 units. it caused framerates to get trashed from 30000/1001 to 2997/100, etc.!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16185 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-06 16:15:07 +00:00
rtognimp cd68e1618b Demuxer modularization
Demuxer selection by name with -demuxer command (bakward compatible)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16176 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-05 19:57:47 +00:00
al bd342e463a Support new static libavcodec (depends on libavutil).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16166 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-01 20:16:56 +00:00
reimar 2d14fdcb3a Support more MythTV nuv files, based on Gentoo portage patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16165 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-01 18:52:20 +00:00
reimar 1da3dc91bd set i_bps in demux_audio for WAV and MP3 to avoid division by zero before
decoder sets it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16163 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-01 18:36:50 +00:00
iive 84ec577508 remove unused cache-prefill and create cache-seek-min that controls when seek_long is prefered over waiting for cache to fill
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16153 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-31 00:26:07 +00:00
reimar c95fe61fd8 10l, incorrect usage of le2me_*
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16150 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-29 15:52:06 +00:00
reimar a426499a97 Hopefully finally fix the last commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16136 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-28 14:14:13 +00:00
reimar 70c9aca23b lavf demuxer with raw PCM fix (and a related hang)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16135 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-28 13:43:24 +00:00
alex 28d434a068 no sense anymore
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16127 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-28 12:05:06 +00:00
reimar bc7eccf0f1 strncasecmp is not necessary and e.g. strncasecmp(prot, "mms", 3) will
also match e.g. mmshttp!
Thanks to Ian Remmler for noticing.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16113 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-26 18:55:20 +00:00
diego ea34730820 Use a more stable URL.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16094 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-26 00:01:44 +00:00
reimar e23ff6c88c Some ICY servers (e.g. http://broadcast.spnet.net:8000/darikhigh) do not set
the protocol correctly, so look for icy-metaint in the response instead.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16079 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-24 12:22:30 +00:00
reimar 1283da1d04 Allow the ffmpeg people to use this code if they want.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16075 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-23 18:07:08 +00:00
reimar 51a7a44449 Multiple unsv/scast bug fixes.
* use recv instead of read for MinGW compatibility
* detect EOF more reliably
* use ultravox only for unsv:// instead of trying autodetection


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16071 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-23 15:29:51 +00:00
reimar 53b7a40591 Forgotten doxygen comments
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16033 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-20 17:14:45 +00:00
reimar ee105bbcb3 Ultravox improvements according to specs (didn't know they existed *g*)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16032 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-20 17:12:33 +00:00
reimar c0a4d94468 SHOUTcast and ultravox support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16014 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-19 12:07:04 +00:00
michael 57b7f68b80 LIBAVFORMAT_BUILD >= 4629
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16002 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-18 00:10:09 +00:00
michael 096500035d LIBAVFORMAT_BUILD >= 4629
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16001 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-17 23:54:48 +00:00
reimar 760e0b6014 support 10000/1001 framerate
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15992 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-17 16:02:49 +00:00
aurel e712dd1854 fix a crash at v4l2 uninit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15988 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-17 00:41:29 +00:00
reimar 2d7dbaa10f (hopefully) fixing remaining float endianness problems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15977 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-13 17:24:42 +00:00
mosu 3987f2d260 Fix for gcc 4 and strict-aliasing. Patch by Uoti A Urpala ( urpala () cc ! helsinki ! fi ).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15960 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-10 18:31:13 +00:00
reimar c54b5a06bd musepack demuxing and decoding support (demuxing is v7 bitstream only).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15959 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-10 17:14:12 +00:00
rathann c18da34beb small warning fix:
function doesn't return anything and the return value is never checked or used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15955 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-10 14:09:45 +00:00
reimar 628236e0c0 Add missing range/length check for video trak desc (fixes bug #335).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15950 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-10 09:05:14 +00:00
reimar e795c4b11b cosmetic: split the lschunks function in two.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15949 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-10 08:57:31 +00:00
nicodvb 57f50fad9e added support for vbr audio (frames are parsed individually); fixed small bugs in the management of pes_extension
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15948 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-10 08:36:39 +00:00
ranma 38d2e2afc8 -identify variable names should follow [A-Z_][A-Z0-9_]* convention
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15939 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-07 17:35:05 +00:00
rtognimp 9f60836046 Revert fix v1.3, it breaks streams with cook audio (ex.
rtsp://mm4.rai.it/raitre/blob/ultimo/blob.rm)
Applied a different fix for the first buf[k] (ensure buf size is k+4)
The second buf[k] is safe, buf is at least 32 when the code is called


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15933 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-06 21:37:38 +00:00
rtognimp a27f05a6ea Do some sanity checks before writing stream information
Patch by Sergio Gelato >Sergio dot Gelato at astro dot su dot se<
and some additions by me


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15931 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-06 19:20:16 +00:00
nicodvb 047325d99f don't read past the end of the selected track
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15913 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-03 15:20:14 +00:00
alex b53b875ddd consistency/tcc support patch by Oded Shimon
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15906 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-03 12:49:23 +00:00
faust3 226ac28fff demux close gets called automatically
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15821 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-26 15:52:49 +00:00
faust3 47eb55b654 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15820 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-26 15:32:09 +00:00
faust3 cd3bc31f2c 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15819 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-26 15:21:27 +00:00
faust3 1b7f873c9c 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15818 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-26 15:15:38 +00:00
nicodvb 999ac17eba support raw ac3 (in private pes packets without the usual dvd 4 bytes substream header). Patch by Matthias Scharzott
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15816 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-25 13:25:27 +00:00
reimar d8d2b12059 fix seeking over http for files larger 2 GB
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15813 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-24 11:01:00 +00:00
reimar b3946c3bb1 fix illegal memory accesses
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15798 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-22 11:58:56 +00:00
reimar d7c31709b3 M$ puts whole FAQs in these headers, so they can get really big...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15796 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-21 19:56:47 +00:00
henry 47f8854d58 messed up ordering of cases, special delivery of Cola to Tobias
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15795 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-21 18:54:50 +00:00
gpoirier 9dd8f241ac adds some more -identify output, patch by kiriuja < mplayer DASH patches PAM en DASH directo POUM net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15790 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-20 23:07:35 +00:00
reimar 405c00b388 avoid bad memory access
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15784 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-20 14:32:51 +00:00
reimar a3e5eab301 fix memleak when playing mov files
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15781 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-20 14:16:59 +00:00
diego 2f09d80552 typos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15778 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-20 08:47:27 +00:00
ranma 23d964aa0d Fix off_t on OSX, thanks to Steven M. Schultz
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15775 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-20 00:30:18 +00:00
ranma 2098665b8d Be more patch-friendly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15773 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-19 22:52:55 +00:00
reimar 8aa19f12a0 fix wrong usage of select() (based on patch by Selwyn Tang selwyn hectrix com),
add missing closesocket calls.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15761 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-19 12:42:36 +00:00
ranma 6ca9795767 rawaudio muxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15755 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-19 09:12:44 +00:00
henry 4ea93f6ad8 remove useless include
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15741 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-16 21:17:26 +00:00
henry 6844ef92d7 memleak fix by bryanwilkerson WHIRLPOOL yahoo SPOT com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15739 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-16 19:04:09 +00:00
reimar a1d7876900 Remove code that is already done by fixup_network_stream_cache.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15733 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-16 07:42:01 +00:00
nicodvb 12a755b63b added AAC ADTS demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15721 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-13 20:40:29 +00:00
mosu 11bfc67802 demux_stream_t.pts should not be assigned by the demuxer. Fixes playback of VFR files. Patch by Sam Dennis <sam () malfunction ! screaming ! net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15702 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-09 07:45:17 +00:00
nicodvb 2b1fef3a98 moved mpeg-ps/es probing code to demux_mpg.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15671 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-06 21:30:53 +00:00
nicodvb 8f224ba1bc pass along audio extradata if present
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15670 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-06 20:49:55 +00:00
alex 2b62fcddeb some debugging code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15629 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-03 15:59:24 +00:00
nicodvb 68230a7f76 printf converted to mp_msg; made static many unnecessarily global symbols
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15627 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-03 15:33:26 +00:00
lorenm d4eed8f8d2 demux high profile H.264 ES
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15619 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-02 21:16:21 +00:00
reimar 5ee6c9882d Change header order to avoid compile error because of STREAM_SEEK
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15615 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-02 18:57:58 +00:00
faust3 72ea928194 memory leak fixes, patch by Gianluigi Tiesi <mplayer at netfarm.it>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15614 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-02 16:49:29 +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
joey 69cef98fd9 a cleaned-up version of ty demuxer improvements found in tivo-mplayer fork.
this represents the last work done on the demuxer by its original author.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15582 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-28 20:16:33 +00:00
joey ad29da9c9b fix audio init crash
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15581 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-28 20:12:09 +00:00
reimar fdd23f29ba setting sh_audio to NULL is nonsense, since it is only a local variable,
use d_audio->sh instead.
Fixes crash for incoming/VTS_01_1_orig.VOB, though it still doesn't select
the other audio stream automatically.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15577 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-27 12:38:29 +00:00
reimar 3cfef55557 support DVR format
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15573 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-26 11:23:15 +00:00
reimar 3c9ef55e0a Specify the padding instead of expecting the compiler to align correctly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15569 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-25 11:48:58 +00:00
diego 8308e63eb1 DragonFly BSD support
patch by Joerg Sonnenberger <joerg - at - britannica - dot - bec - dot - de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15567 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-25 08:48:32 +00:00
reimar 4499002cf9 Speedup asf descrambling (avoid one memcpy and use our fastmemcpy).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15554 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-23 16:20:46 +00:00
diego b9586c6e1c Reduce senseless spamminess of DVD playback in verbose mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15552 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-22 22:35:44 +00:00
mosu d8500a1a3b Do not switch to audio tracks whose codec private data differs from the main audio track's as this will most likely result in messed up audio output. Patch by Michael Behrisch <list () behrisch ! de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15534 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-21 06:50:08 +00:00
nicodvb ad1ca2174f remove inclusion of stdio.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15522 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-19 21:47:30 +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 b691a0caa1 ported smb:// to the new stream api, patch by Matthieu Tourne [matthieu puntum tourne ab gmail puntum com]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15520 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
mosu 87f93d9d7f Reset the saved max_pts used for timecode reordering after seeking. Otherwise playback is broken after seeking back in a file that needs the timecodes to be reordered. Patch by Sam Dennis <sam () malfunction ! screaming !net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15518 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-19 12:09:26 +00:00