Commit Graph

25303 Commits

Author SHA1 Message Date
reimar 744797543e Use a pointer variable for extradata to simplify init_avi_with_ogg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25230 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-01 14:55:58 +00:00
reimar 7f98fc4ad3 Set sh_video->format when parsing aviheader, otherwise it might never
be set correctly when using demux_demuxers (like with ogg stream in AVI).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25229 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-01 14:29:53 +00:00
reimar 45cfc7af1a Remove some pointless casts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25228 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-01 14:22:27 +00:00
reimar 9816936cb6 Create correct extradata for vorbis audio when used as avi sub-demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25227 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-01 14:09:48 +00:00
reimar 7eb46c40d3 Fix some typos in comments, grammar is still bad.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25226 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-01 13:50:30 +00:00
reimar a47c3bec6d Fix typos in comments to stop them hurting my eyes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25225 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-01 13:35:25 +00:00
nicodvb a7e85be81e at startup show audio and subtitle streams available in the chosen title with all their properties
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25224 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-01 11:35:03 +00:00
uau a655984828 Fix ao_null with float samples
ao_null accepts float input, but the code calculating ao_data.bps only
checked for 1-byte formats and used samplesize 2 for everything else.
Because ao_null uses the bps value in its timing calculations this
effectively made "playback" advance at half the correct speed.
Fixed by calculating samplesize with af_fmt2bits() instead.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25223 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-01 05:17:08 +00:00
uau 7e5c327c5a ao_null: Make duration of "buffered" audio constant
Choose the "buffer size" for the amount of audio the driver accepts so
that it corresponds to about 0.2 seconds of playback based on the
number of channels, sample size and samplerate.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25222 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-01 01:39:39 +00:00
michael 32b9034e23 simplify
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25221 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 23:46:32 +00:00
ivo d3fbd9a436 10l for me. I should read my own comments just above it ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25220 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 23:02:32 +00:00
ivo dd9d075405 less code for initializing default settings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25219 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 23:01:30 +00:00
ivo 33ef887d5b add test for deprecated and obsolete functions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25218 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 22:52:56 +00:00
reimar 3cc173f7e4 Make outburst and buffersize depend on channel count.
This should reduce the number of case where to much audio
is buffered ahead thus breaking interleaving.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25217 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 22:15:01 +00:00
reimar def649b0e4 100l, bzero is deprecated, use memset instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25216 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 21:29:45 +00:00
ben 2438f463c3 this variable was nothing but a useless memleak
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25215 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 19:54:30 +00:00
ben 2e15ab9351 this local variable can be static
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25214 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 19:51:30 +00:00
ulion 30e6735109 Remove stray line that slipped through in last commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25213 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 18:45:17 +00:00
ulion 46f4de7c17 Fix warnings:
spudec.c: In function 'spudec_assemble':
spudec.c:353: warning: 'current_nibble[0]' may be used uninitialized in this function
spudec.c:353: warning: 'current_nibble[1]' may be used uninitialized in this function
spudec.c:352: warning: 'end_pts' may be used uninitialized in this function
spudec.c:351: warning: 'start_pts' may be used uninitialized in this function


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25212 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 18:08:33 +00:00
diego 4548f6964e Comment some #endif directives.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25211 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 13:21:20 +00:00
reimar 06c5d53f45 Add support for Apple's yuv2 raw format
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25210 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 11:31:31 +00:00
reimar 3ef9fe349d Add the correct format substitutions to make the raw decoders
work with QuickTime files.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25209 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 11:10:38 +00:00
ulion e03a3223fc Support double buffering, fix osd flicker.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25208 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 04:20:38 +00:00
ulion c772daeb04 Fix play window not get actived problem on Leopard.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25207 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 00:03:01 +00:00
ulion 58a471c45e Ignore empty event.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25206 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 23:32:08 +00:00
nicodvb 038f77e272 -identify also shows the duration(s) of the title(s)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25205 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 23:25:14 +00:00
nicodvb 36bcaa934d cosmetics: moved identification code to a separate function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25204 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 23:01:46 +00:00
ivo ee6976f8d5 Proper license header.
GPL v2 or later instead of just v2.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25203 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 14:41:02 +00:00
ivo 3814d4ee9a Remove redundant changelog from comments
Add proper license header
Proper copyright notices


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25202 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 14:36:59 +00:00
ivo 1d22c3bf03 Proper license header.
Change license from strict version 2 to version 2 or later.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25201 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 14:33:18 +00:00
ivo 967fe08c6a Remove redundant changelog comments. There's always svn log.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25200 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 14:31:50 +00:00
ivo 89308b1105 Remove redundant changelog from comments. There's always svn log.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25199 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 14:30:03 +00:00
diego df58d5f00d Fix multiple inclusion guards, identifiers starting with __ are reserved
for the system.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25198 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 14:23:24 +00:00
ulion 09270628da Even when vobsub is forced, .ifo file is still not necessary,
so change the log level from error to warning.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25197 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 03:35:50 +00:00
nicodvb 7252c0e78e when no title is chosen -identify all titles present in the dvd
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25196 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 00:16:08 +00:00
nicodvb 2e4f57d04d with -identify show the title being described
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25195 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 00:13:11 +00:00
nicodvb 88997fd1ae -identify shows chapters times when playing dvd streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25194 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-28 23:55:17 +00:00
nicodvb 8171a77ed9 -identify chapters of chosen title
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25193 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-28 23:50:05 +00:00
voroshil ade8088f2d r24924: Add audio filter scaletempo
r24950: Explain new ao_pulse option syntax
r24952: Escape some more '-' where appropriate.
r24953: one more '-' escape, wording fix
r24954: another round of '-' escapes
r25134: Fix a wrong cmdline example of using -menu-chroot.
r25179: Add missing forced linebreak, slight wording improvement.
r25189: Add an example for play DTS-CD with passsthrough.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25192 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-28 18:16:47 +00:00
voroshil 8fe875382b r25011: a couple of tricks to improve playback resistance and usability of dvb streams
r25012: small rephrasing
r25016: & => &
r25017: wording/grammar/spelling/formatting
r25119: Put colon inside replaceable tag.
r25123: vcd://<n> now works for MinGW32 too, hence the updated doc
r25146: Clarify playtree explanation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25191 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-28 15:29:00 +00:00
voroshil ca94f5ee43 r25058: Add missed translatable string in my previous commit
r25059: report why the dvd couldn't be opened. Patch by Jan Knutar jknutar+nic+fi
r25158: Make up missed update for osd message.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25190 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-28 14:15:40 +00:00
ulion eb3b5a4d1d Add an example for play DTS-CD with passsthrough.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25189 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-28 13:08:36 +00:00
zuxy 4a00ef1767 Correct VCD track no. calculation on Windows.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25188 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-28 11:48:45 +00:00
zuxy c869211a95 Avoid gcc warning:
vcd_read_win32.h:61: warning: format '%u' expects type 'unsigned int',
but argument 4 has type 'DWORD'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25187 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-28 11:36:23 +00:00
zuxy ea9b477dc7 Return correct length in ID_VCD_TRACK_n_MSF
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25186 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-28 11:34:01 +00:00
ulion e3c9524d66 Set protocol for the vo proxy used in shared-buffer mode.
NOTE: You have to update your mplayerosx to svn r148 or newer to work with it.
This change will speed up vo proxy and fix all these warnings:
vo_macosx.m: In function 'config':
vo_macosx.m:165: warning: 'NSProxy' may not respond to '-startWithWidth:withHeight:withBytes:withAspect:'
vo_macosx.m:165: warning: (Messages without a matching method signature
vo_macosx.m:165: warning: will be assumed to return 'id' and accept
vo_macosx.m:165: warning: '...' as arguments.)
vo_macosx.m: In function 'flip_page':
vo_macosx.m:183: warning: 'NSProxy' may not respond to '-render'
vo_macosx.m: In function 'uninit':
vo_macosx.m:235: warning: 'NSProxy' may not respond to '-stop'
vo_macosx.m: In function 'control':
vo_macosx.m:334: warning: 'NSProxy' may not respond to '-ontop'
vo_macosx.m:336: warning: 'NSProxy' may not respond to '-toggleFullscreen'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25185 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-28 00:01:35 +00:00
lu_zero 8e18e41638 Enable -rtsp-port for nemesi
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25184 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-27 21:31:47 +00:00
lu_zero d4e14ef53e Remove stray var
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25183 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-27 21:17:20 +00:00
ptt 2f7f48d5fe synced with r25179
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25182 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-27 17:12:07 +00:00
ulion e36b3815d8 Added myself, as suggested by Diego.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25181 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-27 12:31:27 +00:00