reimar
c71f2478a2
Use proper type for vidix_preinit parameter instead of void *
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25240 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 13:37:15 +00:00
reimar
cd3d3369e1
Mark all stream_info_t as const
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25239 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 13:22:53 +00:00
voroshil
6e6214052c
When IFO file is opened (detected by extension), set dvd-device to IFO file's
...
directory and start dvd:// stream instead of file://.
If VTS_<N>_*.IFO is opened, open stream as dvd://<N>
As Nico Sabbi said:
There is no no guarantie that title N is in titleset N,
but there are at least good chances.
The main purpose of this patch is ability to load DVDs, stored on HDD,
using OSD menu.
Modified patch from Benjamin Zores ben at geexbox dot org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25238 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 13:13:02 +00:00
reimar
1f0c614110
Make auto_open_streams array itself const
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25237 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 13:07:35 +00:00
ulion
7a11248973
Add type info to menu_t, now we can get the menu name and the type name of menu.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25236 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 11:14:50 +00:00
reimar
5a046a6f4d
auto_open_streams should have const type, fix also the places where it is used
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25235 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-01 16:31:49 +00:00
reimar
4cc00dc192
Finally replace get_uint?? by AV_RL??
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25234 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-01 15:12:05 +00:00
reimar
8da10f7b0f
Get rid of annoying, space-wasting sizeof(uint32_t)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25233 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-01 15:01:55 +00:00
reimar
18499a94d9
Bigendian fix for ogg in AVI
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25232 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-01 15:00:22 +00:00
reimar
0034f7802d
Use a loop instead of doing the same thing three times
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25231 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-01 14:58:00 +00:00
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