Commit Graph

1839 Commits

Author SHA1 Message Date
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
nplourde 83ca336af6 The Quicktime headers have changed slightly from 10.3.x to 10.4. Steven Schultz <sms@2BSD.COM>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15509 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-18 14:44:56 +00:00
nicodvb 34ad64a0ed mux extradata
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15501 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-17 21:44:28 +00:00
nicodvb 682b140477 restore vcd_track
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15485 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-15 20:52:06 +00:00
nicodvb f781d5bc30 better implementation of read()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15483 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-15 15:38:57 +00:00
nicodvb e4b5ff6cf0 ftp is handled by the modular stream manager
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15479 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-15 08:47:55 +00:00
nicodvb 9afb8b3073 more efficient read() without memcpy()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15478 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-15 07:59:30 +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
rfelker 0a6528773a comment out useless/nonexistent variable breaking compile on gcc4
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15473 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 20:26:46 +00:00
rtognimp c9314d8a6b Fix for stereo files
Patch by KAICHO > s_naray at yahoo dot co dot jp <, forwarded by mike


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15469 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 15:47:49 +00:00
henry 07e2bc3acd do not modify tv_param_noaudio
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15465 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 13:54:25 +00:00
henry 3740da878c cleanups of the mutex usage
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15463 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 13:04:30 +00:00
nicodvb 9af02c596e fixed file:// syntax using newly introduced -string- urlpart
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15462 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 12:50:59 +00:00
nicodvb f6df520b8e make file:// prefix work
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15453 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 08:15:37 +00:00
henry 86830611e1 10l forgotten comment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15452 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 07:52:47 +00:00
nicodvb f595bf38ce removed unused variables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15451 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 06:52:25 +00:00
henry 32a7942535 improve playback with mplayer -tv immediatemode=0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15450 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 05:42:37 +00:00
nicodvb a2ac4cd246 prevent possible exploit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15427 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-13 00:00:54 +00:00
nicodvb a66c45716a fixup the correct sh_a
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15425 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-12 23:27:22 +00:00
nicodvb 15ba985140 fixed too few parameters to mp_msg(); silence compilation warnings, removed unused variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15424 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-12 23:12:27 +00:00
nicodvb da2a598d9d don't call fixup_audio if there's no audio
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15423 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-12 23:01:52 +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
nicodvb 3d450d0389 vorbis extradata is now passed from demuxer to decoder in matroska's way
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15421 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-12 17:35:58 +00:00
henry 4515c02ea4 BGR formats are ok, too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15420 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-12 15:31:37 +00:00
henry 3a3f2a1ad5 v4l2 RGB15/16 is actually BGR
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15419 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-12 15:30:39 +00:00
rtognimp 875908b14f Fix audio playback for no-sound-3gp.3gp (amr nb)
Patch by Richard van der Hoff * richardv * mxtelecom * com *


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15358 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-06 22:26:36 +00:00
rtognimp 92cc26d0f4 Decode "d263" and "damr" atoms in 3gp files
Patch by adland


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15357 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-05 21:40:33 +00:00
reimar 83d4f16ae5 Fix the memleak fix: in case of error, demux_close_ogg should be called
only once and demuxer->priv be freed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15322 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-02 07:59:12 +00:00
michael b7b46136ce fix timestamps
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15315 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-01 11:13:14 +00:00
mosu 9e5531f861 Nasty workaround for codec initialization data. In _at least_ one case (AAC) the stream_header.size element seems to be four bytes off. Skip those bytes but only for known cases (again AAC) and not for all.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15314 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-01 10:40:42 +00:00
rfelker 64c03e2f89 at lest this fixes build.. there's no way muxer_lavf is working right yet tho with mencoder's broken timestamps
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15310 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-01 05:11:02 +00:00
michael 2678394202 LIBAVFORMAT_BUILD >= 4624
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15309 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-01 02:03:58 +00:00
gpoirier 68bd56767f Fixes double import of avs_create_script_environment.
Patch by Gianluigi Tiesi < mplayer & netfarm * it >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15299 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-30 09:05:45 +00:00
rfelker a69f29069b revert one line of version 1.182 patch (caused use of already-freed
memory and multiple double-free errors). i am fairly confident that
all the relevant memory is now freed once and exactly once, but it's
better than corrupting the heap in any case.
100l to reimar :)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15298 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-29 21:57:05 +00:00
rtognimp a6d915256b Also '3g2a' can be used for 3GPP Profile 2
Based on patch by adland


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15287 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-28 18:25:50 +00:00
reimar be54f4813f adds a parameter to the switch_audio command to directly select a track.
Patch by kiriuja mplayer-patches at en-directo net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15286 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-28 14:43:19 +00:00
nicodvb 4503dd2338 added support for AAC; moved most of MSGL_V to MSGL_DBG2 to reduce verbosity
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15279 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-27 18:30:10 +00:00
nicodvb 867eedfa93 wrong framesize calculation for layers 1 and 2 with lsf set
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15252 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-24 08:41:45 +00:00
iive 6b82b8e381 use the documented default video device /dev/video0 instead of /dev/video that is missing on most systems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15247 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-23 21:23:58 +00:00
rfelker 14158adbbc proper fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15226 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-20 15:17:08 +00:00
rfelker d9b5ebeba3 undo dominik's 1000l cvs admin -o (recommitting bad patch)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15225 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-20 15:16:31 +00:00
lorenm f3bf706a77 integer overflow when reading fps from h264 vui.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15218 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-19 21:17:39 +00:00
reimar 5a5d4c946e Fix MP3 detection (list of found MP3 headers was not kep sorted).
Also remove code that only fixed the symptoms.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15216 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-18 20:51:34 +00:00
nicodvb cd57606202 check the result of poll() before read()ing; 100l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15214 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-18 19:49:40 +00:00
rtognimp e089ee403e Do not force real demuxer on x-pn-realaudio mimetype
Real and realaudio share the same mimetype, forcing real demuxer prevent
realaudio files from being played.
Fixes http://www.bbc.co.uk/romanian/rom.ra


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15210 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-17 20:33:25 +00:00
rfelker 5528785463 nico partially fixed the bug i reported; here's the rest of the fix.
basically demux_audio was mixing data in its header buffer in a bogus
manner, whereby it could sometimes "make up" valid mpeg headers where
no such header actually occurred in the file. it should be correct now.

btw these changes also fix the bug where mplayer reports huge initial
cpu usage for sound when playing mp3 files.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15206 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-17 17:17:52 +00:00
nicodvb 4593e0f2cf skip framelen-4 bytes after having successfully detected an mpeg audio frame
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15205 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-17 17:08:55 +00:00
nicodvb aa8b3279f9 assign correct tag, dwScale and dwBlockAlign to mpeg audio; optionally assign layer and samples_per_frame when parsing mpa header
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15200 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-17 09:42:51 +00:00
nicodvb 1e12bf4d71 added missing initializer in URLProtocolo; mux packets only if len > 0; second mencoder's a/v sync model
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15199 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-17 09:13:48 +00:00
rtognimp 27090defde Use define instead of hardcodec value for max streams number
Pathc by Dominik 'Rathann' Mierzejewski


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15182 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-16 13:42:50 +00:00
diego 7d9ec17fd4 Mark modified imported files as such to comply more closely with GPL §2a.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15179 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-16 12:51:09 +00:00
rtognimp c935ff23d7 Fix potential buffer overflow for urls with more than 20 streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15174 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-15 23:31:57 +00:00
rtognimp 20a3f6169c Fix potential buffer overflow if server answers with too many lines
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15173 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-15 23:30:44 +00:00
gpoirier 2a08792ee8 Online audio switching now supports Matroska too. Patch by Michael Behrisch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15155 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-13 22:33:19 +00:00
rtognimp 7b1bd09dbc Make string_utf16 code behave almost the same with or without iconv
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15151 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-13 19:21:05 +00:00
nicodvb bd9d54015f changed :vaspect option to CONF_TYPE_FLOAT
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15084 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-10 10:06:59 +00:00
rtognimp b5e683f42d "Fix" for pnm EOF detection (stop on read errors)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15078 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-09 14:50:36 +00:00
rtognimp a319fea77f Stop streaming if we got a server error or message on pnm streaming.
This is needed to stop playback for pnm streams where mplayer can't
authenticate, and avoid an endless list of "input pnm: read error".


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15077 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-09 13:44:43 +00:00
nicodvb 4493ca4321 set width, height and biCompression when the video stream contains avc1; reuse a private member rather than a in-stack packet[204]; set pes_es->is_synced =1 when au_start=1 (SL); update PMT when setting mp4es codec (SL); fix tss->is_synced assignment (don't forget the value when it was previously set)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15076 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-09 11:30:59 +00:00
nicodvb f1a9cf6c69 assign picture->(width,height) when parsing h264
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15074 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-09 11:00:00 +00:00
rathann bc7fa51e6d obvious gcc warning fix, approved by Nico
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15068 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-08 00:52:43 +00:00
nicodvb 76e038c2ae demux ac3 by means of lavf by default
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15062 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-07 18:59:15 +00:00