zuxy
991ff1be27
Make realloc_struct inline as other functions defined in demuxer.h
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23451 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-02 16:04:56 +00:00
nicodvb
5fe0ff0e1b
prog_id is an uint16_t; reported by Mario Rossi (mariofurire googlemail com)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23445 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-02 10:26:37 +00:00
zuxy
6a5b9c26d0
Use play duration instead of send duration to calculate the length
...
of an ASF clip.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23417 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-30 08:36:38 +00:00
reimar
d4fbb004a6
Get rid of __attribute__((__packed__)) in Matroska demuxer
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23404 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-28 18:13:33 +00:00
cehoyos
7a640111d4
10l: r23399 broke mov/mp4 demuxing
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23402 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-28 14:25:48 +00:00
diego
5edd9af248
Remove some unused variables, patch by timwoj ieee org.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23399 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-28 08:42:35 +00:00
zuxy
e5113fdfec
Set i_bps for ASF video streams according to extended stream properties
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23375 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-22 13:55:14 +00:00
corey
f7c7e60349
cosmetics: fix indentation for previous commit
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23339 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-18 02:10:41 +00:00
corey
d26e1dd55f
PIX_FMT_NONE is -1, not 0, so if stream->imgfmt is 0, ctx->pix_fmt gets
...
set incorrectly to PIX_FMT_YUV420P
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23338 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-18 02:09:26 +00:00
reimar
f060263337
Reuse AV_RL macros in ogg demuxer instead of its own overcomplicated implementations of it.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23330 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-17 13:07:15 +00:00
reimar
ea59198921
Make use of new AV_RL64
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23329 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-17 12:56:08 +00:00
reimar
e576e08661
Remove useless setting of dp->len, it is already set to that value by
...
new_demux_packet
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23328 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-17 10:05:00 +00:00
corey
f58a3d0fda
Pass imgfmt from lavc encoder to lavf muxer (this is needed for dv).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23327 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-17 00:16:51 +00:00
corey
26e13fe9af
Add imgfmt (AKA pixel format) to muxer_stream_t so that encoders can
...
pass imgfmt to muxers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23326 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-17 00:15:08 +00:00
uau
de444acf51
Fix double free() in demux_asf.c
...
If demux_open_asf() fails it frees the demuxer->priv field before
returning. Then demuxer.c calls demux_close_asf() which frees the field
again. Fix by removing the free() in demux_open_asf().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23313 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-14 01:23:54 +00:00
compn
98a3000eca
add txd codec, works with http://samples.mplayerhq.hu/game-formats/txd/fronten2.txd .
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23292 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-10 15:47:06 +00:00
reimar
9ef64e24e7
Fix indentation broken in r23287
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23290 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-10 14:05:06 +00:00
reimar
4ffc4db9da
Support theora in mkv. Sample: http://samples.mplayerhq.hu/Matroska/theora.mkv
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23289 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-10 14:01:53 +00:00
reimar
8073174ddb
Avoid code duplication in mkv demuxer for standard fourcc/extradata handling
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23288 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-10 13:58:57 +00:00
reimar
1e4b9a95b7
Ignore comments where no '=' follows the comment name (otherwise
...
"album_ja=..." would result in "Album: ja=..." MPlayer output).
Patch by Nicolas George [nicolas george [at] ens fr].
See thread: "[PATCH] Equals in Ogg comments", Mon, 5 Mar 2007 10:50:02 +0100
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23280 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-09 20:10:14 +00:00
nicodvb
e4d7bc4396
For DVR-MS:
...
extract timing information from the payload extension, set key frames,
detect video frame boundaries, interpolate the average video frame time
using the known informations from past frames and timestamps.
Video data before the first video key frame is thrown away.
Patch by John Donaghy johnfdonaghy gmail com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23257 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 21:58:42 +00:00
cehoyos
fd7fa9ee0a
Fix compilation after FFmpeg r8921
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23242 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 08:13:22 +00:00
eugeni
476078aed2
Fix NULL pointer dereference in demux_mkv that happens when
...
demux_mkv_get_sub_lang (or demux_mkv_get_audio_lang) is called with an invalid
track number.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23205 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-01 23:04:21 +00:00
diego
05c7a055e8
Simplify preprocessor directives: There is a general variable for
...
static/shared FFmpeg libraries now.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23139 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-26 15:10:07 +00:00
diego
49b64742ed
Add general variables for either static or shared FFmpeg libraries.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23119 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-26 11:22:22 +00:00
diego
61a6e06a52
Add CXX include flags to dependency file generation CFLAGS to generate correct
...
dependencies for C++ source files as well.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23116 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-26 10:36:59 +00:00
diego
5a8c8aadef
cosmetics: Remove CONFIG_ prefix from FFmpeg library Makefile variables.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23110 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-25 08:35:35 +00:00
diego
56c96cec50
Declarations and code should not be mixed.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23107 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-25 00:03:27 +00:00
diego
62cf4b0c60
Add support for Bethesda Software VID video.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23106 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-25 00:02:23 +00:00
ods15
24f0958e5a
compilation fix, manually include help_mp.h
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23102 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-24 09:05:54 +00:00
reimar
b5aa994f1c
Cosmetics: remove duplicate space in ifdef
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23090 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 20:59:14 +00:00
nicodvb
effc6dcf23
demuxer_desc_lavf_preferred depends on USE_LIBAVFORMAT or USE_LIBAVFORMAT_SO
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23087 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 20:32:15 +00:00
nicodvb
dfd0190a6d
with -identify show audio and video id; patch by Andrew Savchenko (Bircoph list ru)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23028 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 21:49:49 +00:00
reimar
5e00b162bb
Ignore mp4a audio tag, it is meaningless since we get it for all mp4 files
...
regardless of actual audio codec.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23008 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-16 20:08:29 +00:00
reimar
720fa4936a
Use lavf_preferred mechanism to replace more extension-based detection hacks
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22990 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-14 10:07:36 +00:00
reimar
ef91f5aad8
Add lavf_preferred demuxer for lavf formats we want to be probed
...
before our native demuxers and remove some now unneeded file-extension
hacks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22989 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-14 10:03:42 +00:00
nicodvb
745c0b9c38
added :interleaving2, a better method to determine which stream whouls be flushed
...
at every iteration of the loop (based on the lowest percentage of buffer used
- same algo as libavformat)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22947 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-08 16:15:41 +00:00
nicodvb
ee3adc95aa
in mpegfile_write_header(only for mpeg1/2) don't overwrite the values of bufsize with dwSuggestedBufferSize (those values are completely invented)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22945 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-08 10:09:56 +00:00
nicodvb
76429f1c97
reindentation
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22944 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-08 10:00:47 +00:00
nicodvb
4cdcd89714
in the system header set audio_locked/video_locked only for dvd and vcd
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22943 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-08 10:00:05 +00:00
nicodvb
c675883bb4
small syntax fix: muxrate is expressed in units of 400 bits/second, not 50 bytes per second
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22942 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-08 09:50:27 +00:00
reimar
03bc9d7f97
Start to separate bad-autodetection hacks from other stuff in extension-based
...
demuxer selection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22938 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-07 17:41:17 +00:00
diego
ad730514fa
.dxa files should be handled by libavformat.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22937 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-07 16:56:26 +00:00
diego
224fd95f9c
support for C93 video
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22936 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-07 16:50:33 +00:00
nicodvb
3e8e92dc2f
10l, the scr must be reset before overwriting the first pack with the correct system header (format=mpeg1|2)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22935 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-07 16:42:28 +00:00
diego
31a7f77164
support for THP ADPCM audio
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22934 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-07 16:31:12 +00:00
nicodvb
acb512df10
reversed r22879 until I discover why it's giving so many sync problems; I'll eventually recommit it in a fixed form
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22927 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-07 08:51:26 +00:00
reimar
60ecafec69
BMP support for mf://
...
Patch by lode leroy [lode_leroy hotmail com]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22921 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-06 16:58:00 +00:00
cehoyos
0c3c6dd46e
Use teardownMediaSession() instead of teardownMediaSubsession()
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22911 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-03 17:00:27 +00:00
uau
208d4343ef
"()" to "(void)" function param list fixes
...
patch from Stefan Huehner, stefan huehner org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22904 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 21:59:54 +00:00
nicodvb
5ca85e87e8
removed init_apts and init_vpts; added :adelay in addition to :vdelay
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22899 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 21:27:47 +00:00
nicodvb
fc527ebd04
cosmetics: removed trailing spaces
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22897 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 20:03:24 +00:00
diego
fc5643ea21
Add support for the THP game format.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22894 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 15:59:44 +00:00
nicodvb
f6314c2220
in flush_buffers() removed code that required the presence of an amount of audio data >= video data in the temporal domain
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22879 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 12:25:31 +00:00
cehoyos
407c037cfb
Support h264 over rtsp
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22870 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 03:03:05 +00:00
cehoyos
46fbb1bd66
Cosmetics: Move variable declaration and initialization up.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22869 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 03:00:47 +00:00
cehoyos
927cde6251
Handle X-QT extradata in a slightly more correct way
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22827 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-26 09:35:03 +00:00
cehoyos
a2177f8bfc
Fix filepos calculation
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22777 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-22 10:14:32 +00:00
cehoyos
65b9ac6426
Every X-QT stream needs video frame rate (not just avc, mpeg4 and svq3)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22774 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-22 10:01:20 +00:00
diego
5f6965df5d
Move libav* include CFLAGS to mpcommon.mak instead of duplicating them.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22735 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-18 22:49:37 +00:00
diego
132dd09be9
Move setting CXXFLAGS to configure.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22731 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-18 21:58:28 +00:00
compn
a261d54b01
add fourcc for dxa files, approved by diego
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22708 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 21:21:04 +00:00
uau
8b59dd4d83
Matroska seeking fixes
...
If a relative seek forward went past the last index position the
Matroska demuxer did not seek to any index position. It did however set
the mkv_d->skip_to_timecode variable which meant that the next
fill_buffer() call would read from the current position until the target
position (probably the end of the file). Fix this by changing the code
to seek to the last index position if that is between the current and
target positions.
Also change backwards relative seek to accept an exactly matching index
position (<= vs <) and reorganize the seeking conditionals to allow
making the above change without turning the code into a complete mess.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22634 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-16 14:55:41 +00:00
diego
a6eca2eef8
Use explicit path for headers from the loader/ directory.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22624 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 22:34:45 +00:00
diego
e085bc8dcf
Add explicit location for headers from the stream/ directory.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22623 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 18:36:36 +00:00
diego
8868c13dc7
Add live555 include flags to CXXFLAGS only.
...
patch by Carl Eugen Hoyos, cehoyos ag.or at
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22621 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 18:07:12 +00:00
reimar
ec62af965e
Check for eof in loop searching for data chunk.
...
Fixes bug #775 .
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22604 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 10:38:51 +00:00
diego
5519d98983
cosmetics: Fix indentation, reorder some lines for consistency.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22549 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 21:55:23 +00:00
diego
60b39e2786
Give more descriptive names to the source and library variables and split
...
between common, MPlayer-specific and MEncoder-specific parts.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22546 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 12:10:57 +00:00
nicodvb
8eee548895
cosmetics: renamed variable amr as headersize, more meaningful; patch by Carl Eugen Hoyos
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22537 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-12 22:13:48 +00:00
diego
4a75f5849f
Source files should not contain non-ASCII characters.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22525 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-12 15:52:34 +00:00
uau
c60af33716
Move the sh_audio->delay field to mpctx->delay.
...
The value is related to overall a/v sync and is not used by audio
demuxers or decoders.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22506 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-11 06:16:14 +00:00
ods15
a8f031fbc0
remove some lines which should have never been in demux_nut.c, broke CPU
...
percentage meter for audio only files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22502 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-09 15:40:03 +00:00
uau
0f35f8354e
Fix audio samplerates below 7000 Hz.
...
Patch from John Koleszar, jkoleszar on2 com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22482 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-07 01:23:37 +00:00
nicodvb
f1c7edfaa6
support for AMR; it works inserting in the first byte of the demux_packet
...
a 1-byte header that live555 seems to be stripping for some reason, although according
to the specs it should be there. Patch by Carl Eugen Hoyos.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22481 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-06 22:53:52 +00:00
nicodvb
f6687e7a78
removed unused definition of insertRTPData(); it's not only unused,
...
but conceptually wrong as it passed extradata as first demux_packet
to the corresponding demux_stream. Patch by Carl Eugen Hoyos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22472 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-05 22:23:30 +00:00
reimar
dd866c4d11
Audio should now work fine, so remove the ENABLE_AUDIO ifdef
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22468 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-05 13:29:06 +00:00
reimar
ea365aa53f
Implement percent-based seeking
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22467 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-05 13:27:42 +00:00
reimar
1221718d50
Fix seeking for avisynth audio.
...
Based on patch by Alexander Ponyatikh (ranma at 274 ru).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22466 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-05 13:17:16 +00:00
reimar
e18c2bd2d6
Fix DEMUXER_CTRL_GET_PERCENT_POS with -novideo
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22465 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-05 12:56:41 +00:00
reimar
4cb645c043
remove pointless cast to int
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22464 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-05 12:53:43 +00:00
reimar
4b217802c4
Remove subcp_open/subcp_close from mkv demuxer, they are useless since a long time.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22463 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-05 12:02:57 +00:00
nicodvb
b14bee2928
when seeking consider stream->start_pos instead of 0 as initial position; patch by Zuxy Meng approved by Michael
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22458 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 16:23:18 +00:00
reimar
10552969c3
Remove variable that is unnecessary after last patch
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22452 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 15:15:59 +00:00
reimar
bd039d9cfe
Remove hack that sets demuxer->video->pts after seeking, it seems no longer needed.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22451 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 15:13:38 +00:00
reimar
85671d7ee6
Set pts also for audio packets
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22450 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 15:02:53 +00:00
reimar
723fc2a290
Already frameno == num_frames means we reached EOF.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22449 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 14:59:23 +00:00
reimar
8849f44f77
Fix crash with avisynth audio-only files and take audio length into account when length is queried.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22448 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 14:53:26 +00:00
reimar
9a90222cc9
Support more avisynth audio sample types (untested)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22447 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 14:42:17 +00:00
reimar
7a2d48ad6f
Remove useless void * casts
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22446 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 14:24:03 +00:00
reimar
76160e7e5c
Do not read more audio samples than available
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22445 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 14:11:44 +00:00
reimar
0733dc5f01
Fix pakcet -> packet typo in output
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22444 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 13:56:45 +00:00
reimar
0ff9a193c1
Set format tag for float samples correctly (currently useless)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22443 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 13:49:55 +00:00
reimar
5c9ee0eb4d
Move/simplify some variable declarations
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22440 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 12:59:48 +00:00
reimar
bf9ed9dc26
Demuxers have no business setting o_bps
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22439 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 12:55:45 +00:00
reimar
e1783b6b91
First half-working avisynth audio support
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22438 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 12:52:16 +00:00
reimar
e1b26346cc
Fix wrong setting of samplesize (must be bytes per sample, not bits)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22437 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 12:43:55 +00:00
reimar
bdf99c924b
ENABLE_AUDIO now selects only between -nosound and -aid 0 as default, can be overridden at runtime.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22436 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 11:31:43 +00:00
reimar
28aaefce90
Enable aid/vid stream selection, although it is quite useless currently.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22435 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 11:23:11 +00:00
reimar
30220b2a24
Fix type and usage of avs_get_audio function
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22432 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 09:45:32 +00:00
compn
66d4061303
warn users about drm files, patch by zuxy meng
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22427 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-03 21:33:40 +00:00
reimar
3462da0b5c
Replace MIN with FFMIN
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22396 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-01 12:54:38 +00:00
reimar
8e7945155c
Use libavutil's av_clip* instead of unreadable MIN/MAX chaos.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22395 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-01 12:54:08 +00:00
nicodvb
6c36825079
test the continuity of timestamps for STREAMTYPE_VCD, too; patch by Zuxy Meng
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22381 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-28 23:47:05 +00:00
nicodvb
309dc7e6c6
implementation of DEMUXER_CTRL_GET_TIME_LENGTH and DEMUXER_CTRL_GET_PERCENT_POS; patch by the usual Hoyos
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22373 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-27 22:25:00 +00:00
nicodvb
4671533096
assign missing frametime as 1.0/fps; patch by Carl Eigen Hoyos
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22372 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-27 21:20:24 +00:00
nicodvb
e4fbdd185e
1000l, removed code that messed with the internals of demux_packet_t (but there's still more); patch by C.E.Hoyos fixed by me
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22371 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-27 21:16:54 +00:00
nicodvb
5ad12e4fbb
removed duplicated code in demux_seek(); stream_seek() already aligns to STREAM_BUFFER_SIZE boundary
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22370 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-27 20:22:05 +00:00
nicodvb
09262ff552
100000l: average != semidistance, fixed seeking to the middle position; patch by Zuxy meng (zuxy.megn gmail com)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22369 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-27 20:15:31 +00:00
nicodvb
3f7582cca2
copy the content of QDM2 atom as extradata for ffqdm2 playback; patch by Carl Eugen Hoyos
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22354 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-26 21:54:52 +00:00
nicodvb
921e985a12
2 less variables
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22351 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-25 23:01:13 +00:00
nicodvb
37b65c2eca
cosmetics: reformatted
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22350 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-25 22:55:14 +00:00
nicodvb
7339fd9684
removed unused variables
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22349 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-25 22:41:17 +00:00
nicodvb
1bffdebffa
simplified parse_mpeg12_video()
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22348 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-25 22:40:05 +00:00
nicodvb
bf15108d56
member real_framerate is completely useless
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22346 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-25 21:21:09 +00:00
nicodvb
72fa22f6b0
cosmetics: reindented
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22341 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-25 14:33:19 +00:00
nicodvb
bc389eee92
removed commented/useless code from parse_mpeg12_video()
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22340 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-25 14:32:14 +00:00
reimar
4402f7d089
10l, avoid crash on invalid subtitle id
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22333 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-24 10:19:41 +00:00
diego
8ed3ba4995
cosmetics: typo fixes, usefuLL --> useful and aswell --> as well
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22307 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-22 00:18:10 +00:00
diego
e1547563a9
cosmetics: Fix some common typos, sepErate --> sepArate, deciSSion --> deciSion.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22301 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-21 10:05:46 +00:00
nicodvb
1625094e35
insert extradata in sh_video->bih+1 instead of pushing it to demuxer->video as separate packet; patch by C.E.Hoyos
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22296 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-20 20:21:15 +00:00
ivo
3e3ad56106
make message translatable
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22292 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-20 17:19:06 +00:00
ivo
19f117a277
more cosmetics
...
remove overlooked trailing whitespace
cut overly long lines (>79 characters)
file passes checktree.sh -all -norcsid <file> now
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22290 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-20 17:11:56 +00:00
ivo
40b89d03c8
proper GPL heading
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22289 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-20 16:54:49 +00:00
ivo
5bed148920
cosmetics
...
replace mixed tabs and 2, 4 and 8 spaces indentation
remove trailing whitespace
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22288 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-20 16:46:05 +00:00
ivo
834bd69ef8
proper authors of xmms demuxer
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22285 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-20 16:19:04 +00:00
michael
296f360f82
dont set 0 nBlockAlign
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22284 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-20 16:16:53 +00:00
ivo
b12556dd58
probe ~/.xmms/Plugins for plugins too, so users without root access on their
...
machine can install them in their homedir and, if necessary, override
system wide defaults.
patch by Nicolas George, nicolas george at ens fr
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22283 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-20 16:12:46 +00:00
nicodvb
7593a4d298
all options must be GLOBAL; patch by Trent Piepho (xyzzy speakeasy org)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22261 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-18 16:46:12 +00:00
nicodvb
e09e41a0b0
omit length field of AAC-LATM audio streams; fixes decoding by faad. Patch by Carl Eugen Hoyos (cehoyos ag or at)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22253 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-17 21:45:16 +00:00
nicodvb
2dd4906d55
cosmetics
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22249 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-17 17:24:07 +00:00
uau
6a1bc9678e
Don't segfault if no -format is given for lavf
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22238 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-16 23:09:13 +00:00
nicodvb
ae33f794c1
support for H263-2000; patch by Carl Eugen Hoyos
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22229 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-16 00:30:05 +00:00
reimar
077f4e7a2c
English grammar fix: There is no 's' after "does not exist"
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22219 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-14 19:17:39 +00:00
reimar
c191199c18
100l copy-and-paste bug. Do not print video info when the problem is with subtitles
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22218 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-14 19:16:08 +00:00
reimar
807a81cf69
Print list of lavf muxer formats with format=help.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22216 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-14 11:06:59 +00:00
diego
4eebe7dc88
Revert libnut option names, the issue is fixed in FFmpeg.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22208 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-12 09:51:25 +00:00
nicodvb
df3bc9b5aa
removed ages-old and insane #if0-ed and commented code
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22191 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-10 12:19:36 +00:00
nicodvb
7ac4b89663
substream id 0x98..0x9f identifies dts
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22188 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-09 20:21:20 +00:00
nicodvb
9b618f615e
when seeking in h264 sync to idr frames
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22183 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-09 19:47:20 +00:00
nicodvb
9194c790ea
when playing vc1 content sync to sequence or entry point header
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22181 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-09 19:44:21 +00:00
nicodvb
1f357e2f06
vc1 in mpegts
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22180 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-09 19:39:31 +00:00
reimar
a63f68fb4c
Make sure sub->sh is set when a subtitle is selected
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22175 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-08 14:19:18 +00:00
nicodvb
0d94dac274
when seeking and the codec is VC1 sync to sequence or entry point headers
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22173 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-07 23:56:08 +00:00
nicodvb
b383bd659a
when the video codec is mpeg4video copy the content of the esds in extradata; patch by ceyes ag or at
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22172 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-07 23:41:07 +00:00
gpoirier
860dd21ab1
Fix libnut build failure.
...
Use CONFIG_LIBNUT like ffmpeg's configure, instead of LIBNUT.
Patch by Clemens Ladisch % cladisch A fastmail P net %
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22169 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-07 09:00:11 +00:00
reimar
07b655f0e8
Support selecting a specific lavf demuxer and listing available ones via -lavfdopts
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22168 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-06 22:15:20 +00:00
reimar
db7e024216
Support some weird AVI header, fixes bug 742
...
(http://samples.mplayerhq.hu/avi/samsung_crap_bug742.avi )
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22166 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-06 19:01:28 +00:00
rathann
45defa1aa0
Fix a few gcc warnings, approved by Diego and Reimar.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22160 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 23:46:08 +00:00
reimar
de73d4dd97
Another round of subtitle code cleanup
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22155 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 18:25:28 +00:00
reimar
d80d849ed7
Set sub_utf8 for mov subs.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22152 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 18:12:56 +00:00
nicodvb
7a66e827a1
support for SVQ3 in X-QT; patch by Carl Eugen Hoyos (cehoyos ag or at) approved by Ross
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22130 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-04 14:02:35 +00:00
reimar
8fdb1522a2
Do not read beyond end of data chunk if chunk_size is set.
...
Sample: http://samples.mplayerhq.hu/A-codecs/wavpcm/ahh.wav
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22121 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-04 09:33:57 +00:00
nicodvb
3a250aa0f1
demux_mpg_probe() seek to the initial position before returning - patch by reimar
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22112 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-03 14:09:47 +00:00
nicodvb
7d1ffbf2c1
removed unused variables
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22106 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-03 11:32:43 +00:00
reimar
596ab5d0fb
mf demuxer only works with mf:// urls, so check for that.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22101 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-01 20:31:40 +00:00
reimar
20d8af25be
Make mkv demuxer use ffmpeg LZO as well.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22099 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-31 23:28:34 +00:00
reimar
54ef26f173
Support 16bit bigendian PCM audio from libavformat
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22076 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-30 16:16:10 +00:00
nicodvb
fc65d8d101
reduced verbosity
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22068 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-29 23:35:08 +00:00
nicodvb
4d31f5e2ea
5l, check that the codec type detected by ts_detect_streams() is actually audio before fixing it in the array
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22067 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-29 23:10:01 +00:00
nicodvb
9b9485027e
fix audio type when ts_detect_streams detects that a private1 stream is actually ac3
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22066 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-29 22:49:14 +00:00
nicodvb
d36c1d4295
sanity checks during codec detection; also reset demuxer->stream->eof
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22059 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 22:41:18 +00:00
nicodvb
90654b8eff
added code to scan the video stream to search the actual video codec used;
...
triggered only if requested by the user with option -psprobe.
Evo files require this option because H264 is stored like MPEG2
without using the PSM
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22055 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 21:42:22 +00:00
nicodvb
106158f4f1
include math.h for fabsf()
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22054 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 21:27:15 +00:00
nicodvb
380d0dcebc
cosmetics: reindentation and braces removal
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22053 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 21:25:50 +00:00
nicodvb
ed9e5b1565
moved scoreboarding code to 2 separate functions (update_stats() and clear_stats()) to be reused next
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22052 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 21:22:39 +00:00
reimar
48eb95537d
Fix number of rows in interlaced mode.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22042 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 13:51:24 +00:00
reimar
b9b7060e60
10l, confused current "frame" with canvas width.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22040 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 11:02:52 +00:00
nicodvb
25918a8b31
set has_valid_timestamps and corresponding first and final pts only after
...
having checked that at the beginning, at the middle and at the end of the
stream timestamps don't reset and that they seem to progress (almost-) linearly;
additionally probe those timestamps only when the stream type is file and it's seekable,
so all other stream types (especially network ones) won't waste time trying to seek
and possibly slowing down detection.
Seeking is not negatively affected by these changes.
Patch by Christian Aistleitner (zaek7q gmx net) reworked by me.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22039 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 10:45:34 +00:00
reimar
fec3b1e82e
Hack: use refmode == 1 instead of == 0, as browsers behave like this
...
and buggy files like http://samples.mplayerhq.hu/GIF/broken-gif/CLAIRE.GIF
rely on this.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22038 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 10:34:11 +00:00
reimar
c518d68f25
Set sh_video->bih->biWidth properly, fixes decoding after latest dec_video.c change
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22037 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 09:53:42 +00:00
rtogni
edf1fb46d2
Call real_fix_timestamp() after seeking, to avoid video freezing
...
because of wrong timestamps. Fixes seek_sample2.rmvb and others.
Patch by LR ))) hephooey ))(( gmail )( com (((
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22036 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-27 22:34:27 +00:00
reimar
92258be85a
Simplify and make lzo decompression code more similar to zlib one.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22029 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-27 14:54:45 +00:00
reimar
d7da0ebc20
Forgotten free on error
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22028 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-27 14:52:18 +00:00
reimar
d8f2eaca08
*dest = malloc (*size); is useless directly before *dest = realloc (*dest, *size);
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22026 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-27 14:45:52 +00:00
diego
ef3b7add5f
Remove comment printed by -demuxer help, it belongs in the copyright header.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22015 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-25 17:48:38 +00:00
reimar
fa7d28e854
Remove ff_gcd prototype and include avutil.h instead where it is defined.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22013 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-25 10:49:43 +00:00
rtogni
2669d9536a
Use interleaver id to select the correct interleaver instead of guessing
...
it from the codec id.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22007 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-24 21:20:08 +00:00
rtogni
e77fbf0bd7
Use interleaver id to select the correct interleaver instead of guessing
...
it from the codec id.
Fixes gittin_13.ra
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22005 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-24 15:05:42 +00:00
nicodvb
ef29ff34ff
better autodetection of framerate in case of h264; it works correctly with b-frames.
...
Patch by Eugen Hoyos (cehoyos ag or at)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22001 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-23 22:26:13 +00:00
nicodvb
68f75d788f
substream 0x75 doesn't seem to be a valid vc1 stream, after all; removed
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21997 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-22 22:29:54 +00:00
nicodvb
3253bba2b3
set priv->last_pts to the pts read only if the pts was really read; patch by zaek7q gmx net (Christian Aistleitner)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21996 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-22 22:24:50 +00:00
diego
2e66db0c4a
Discard -Wdeclaration-after-statement warning.
...
patch by Carl Eugen Hoyos, cehoyos ag.or at
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21992 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-21 23:21:50 +00:00
reimar
8e374ff809
Instead of printing a useless "sig11 coming soon" message, just abort parsing
...
in the hope of still saving things (helps with at least
http://sam.zoy.org/zzuf/lol-mplayer.wmv ).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21986 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-21 18:29:18 +00:00
reimar
75282a6a83
Sanity-check sh_video->bih->biSize
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21985 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-21 18:22:07 +00:00
reimar
4b9ddc69a0
Simplify by using av_codec_get_id and include riff.h only in demux_lavf.c
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21984 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-21 15:44:58 +00:00
reimar
3ccc6712e3
Forgotten CodecTag -> AVCodecTag
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21980 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-21 10:33:34 +00:00
reimar
abb0510502
Fix compilation after lavf changes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21979 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-21 10:17:40 +00:00
reimar
cb47a72a44
support -ffourcc with -of lavf
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21978 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-21 10:10:07 +00:00
nicodvb
2abbb9c863
in h264_parse_sps() reuse mp_unescape03()
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21971 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-20 13:46:17 +00:00
nicodvb
6d708c31b6
vc1 probing code: if sh_video->bih can't be callocated exit
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21970 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-20 13:14:09 +00:00
nicodvb
b5d12d6e0f
in vc1 probing code, all packets before the first sequence header must be skipped, not read
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21969 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-20 13:10:40 +00:00
nicodvb
8823921db8
removed unused variables; replaced wrong call to realloc() with calloc() in vc1 probing code
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21968 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-20 13:06:17 +00:00
nicodvb
488013915f
decode vc1 sequence header and frame it in video_read_frame();
...
it doesn't work yet, but it permits debugging and development to Kostya
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21967 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-20 12:17:22 +00:00
nicodvb
fa90811f58
demux vc1 (stream id 0x1Fd with 0x55 <= substream id <= 0x5F in the pes_extension_2 payload)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21966 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-20 12:13:50 +00:00
nicodvb
58c3d666eb
added function to parse vc1 sequence header
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21965 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-20 12:04:20 +00:00
reimar
c70d547ea6
Compile fix: LE_* -> AV_RL*
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21963 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-19 23:14:57 +00:00
nicodvb
34ef7517eb
1000l; fixed wrong operator precedence
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21952 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-17 21:42:04 +00:00
nicodvb
8397554a2a
unified creation of sh_audio and sh_video is ts_add_stream; patch by elupus
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21947 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-17 00:12:35 +00:00
nicodvb
375fe84da6
in evo files [e]ac3 substreams range from 0xc0 to 0xcf
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21945 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-16 22:50:47 +00:00