1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-16 03:57:06 +00:00
Commit Graph

1708 Commits

Author SHA1 Message Date
reimar
2912984517 move resync_audio_stream after seeking to demuxer.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16878 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-30 09:19:05 +00:00
reimar
9e15dfe7fc Provide DEMUXER_CTRL_GET_TIME_LENGTH and DEMUXER_CTRL_GET_PERCENT_POS.
Might need some more fine-tuning.
together with rev. 1.318 of mencoder.c fixes bug #116


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16877 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-30 09:13:32 +00:00
ods15
997fc285dc add a \n after whole cache fill.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16871 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-27 06:55:05 +00:00
reimar
59eed1b45d big-endian fixes for "extended" (i.e. mythtv) files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16860 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-25 20:01:09 +00:00
mosu
d7a113f20d Added support for A_AAC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16825 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-22 10:13:28 +00:00
reimar
2d6059c4e5 Fix seeking in wav files: align relative to start of data, not start of file
and use nBlockAlign if available.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16819 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-20 15:15:53 +00:00
rfelker
3892465935 processing audio is sometimes essential for a/v sync, so 1000l to
whoever made rawvideo muxer disable audio!!

with this patch, audio is processed but simply thrown away by the
muxer. various 'error' conditions in rawvideo muxer are removed to
make it work. feel free to re-add them if they can be done without
breaking anything, but do not use printf !!!!

btw old behavior can be obtained by manually specifying -nosound.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16806 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-19 05:44:27 +00:00
diego
f7e307ee4d Make a few more messages translatable by moving them into help_mp-en.h.
patch by Paul TT < paultt == at == hackerjournal == dot == it >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16794 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-18 11:11:25 +00:00
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