Uoti Urpala
7431eabaab
Merge svn changes up to r29544
2009-08-22 04:31:30 +03:00
reimar
2b8b5b7053
Add suport for detecting and demuxing DVB teletext streams (nothing beyond that though).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29544 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-21 16:54:57 +00:00
Uoti Urpala
95da34aa07
Merge svn changes up to r29532
2009-08-18 02:29:37 +03:00
reimar
3961e12fca
Fix incompatible pointer types warning, also seems to fix mis-compilation with gcc-4.4.1
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29532 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-17 08:02:37 +00:00
reimar
6638304dbf
Fix 100l broken flag check found due to compiler warning.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29531 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-17 07:30:24 +00:00
reimar
9054d57595
Set demuxer->filepos in mf demuxer, since the stream_tell fallback is not
...
usable. Fixes progress display in mencoder.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29530 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-17 06:14:12 +00:00
reimar
eeaa871baa
Get rid of rawaudio control code again that only duplicates the fallback code in
...
demuxer.c now.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29529 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-17 05:56:36 +00:00
reimar
5d058a67c1
Handle demuxers that never set filepos by using stream_tell.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29528 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-17 05:55:40 +00:00
reimar
46f8461828
Add some protection to the rawaudio GET_LENGTH/GET_PERCENT_POS in case the
...
file length is not known (streaming).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29526 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-16 22:44:29 +00:00
reimar
fef7ef08a0
Implement DEMUXER_CTRL_GET_TIME_LENGTH and DEMUXER_CTRL_GET_PERCENT_POS for
...
rawaudio demuxer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29525 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-16 22:39:10 +00:00
cehoyos
d41e860bab
Add Dolby TrueHD support for mkv demuxer.
...
Patch by Jason Tackaberry, tack urandom ca
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29513 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-13 21:54:08 +00:00
cehoyos
226e5b47c8
Fix possible double-free.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29502 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-12 15:20:14 +00:00
greg
14df605236
Use new libavformat metadata API.
...
Patch by Anton Khirnov <wyskas@gmail.com>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29497 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 23:26:42 +00:00
cehoyos
36ebca92d2
Make *avcctx AVCodecContext instead of void.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29495 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 18:52:18 +00:00
cehoyos
6a3c6ad075
Fix H.264 SPS parsing in case of scaling list present.
...
Patch by Marco Munderloh, munderl A tnt D uni-hannover D de
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29494 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 18:44:43 +00:00
cehoyos
bb6c23de0c
Fix a crash when playing some H264 over rtsp streams: Do pass an
...
AVCodecContext to the H264 parser.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29493 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 18:28:26 +00:00
cehoyos
ee5bf60cd8
Parse BitsPerSample and SamplesPerSec when playing PCM in X-QT over
...
RTSP.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29490 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 18:07:43 +00:00
cehoyos
bcb5c78ce3
Allow dpx image files as input.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29489 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 17:56:19 +00:00
cehoyos
17cf1efa12
Fix QT RLE in X-QT via rtsp://.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29477 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-05 23:16:21 +00:00
nicodvb
98742de7c1
handle TrueHD streams (they are carried in 0xFD PES streams in substream 0x72)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29457 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-30 08:37:10 +00:00
nicodvb
fc5f506c83
added inexistant TRHD fourcc to handle TRUEHD streams in forthcoming patch
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29456 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-30 08:36:17 +00:00
Uoti Urpala
4a36b51ea6
Merge svn changes up to r29455
2009-07-29 01:32:03 +03:00
Uoti Urpala
c73217c07a
Change libass type names to match upstream renames
2009-07-29 01:11:33 +03:00
diego
e5751ced4f
Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-26 19:53:00 +00:00
Uoti Urpala
546c3fb53c
Remove internal libass tree
...
Remove the libass/ directory and use the newest standalone version of
the library instead.
2009-07-26 20:22:43 +03:00
Uoti Urpala
9ce0838ffd
Use own mp_*_taglists code instead of libavformat internals
...
Use the version of code under ffmpeg_files/ instead of relying on
libavformat source files to be available.
2009-07-26 06:16:52 +03:00
Uoti Urpala
d6c410b54c
Replace libavutil internal header #includes with MPlayer copies
...
Change #include lines for libavutil/intreadwrite.h, libavutil/bswap.h
and libavutil/x86_cpu.h to use the MPlayer file under ffmpeg_files/
instead.
2009-07-26 06:16:43 +03:00
Uoti Urpala
bb6c06d17f
demux_mkv.c: Make some time arithmetic more precise
...
Some calculations in the demuxer that are in principle integer
arithmetic use float divisions instead of 64-bit integer ones (as in
(int64_t)(x / 1000000.0) ). When compiled with -ffast-math gcc replaces
the division with multiplication by inverse. The calculation of the
inverse can introduce rounding error even for divisions that would
have been exact, and any rounding error down from an exact integer
result in the division makes the result after cast one smaller. This
caused some inaccuracy in seeking due to timecodes in the index not
quite matching those calculated for actual packets. Add 0.5 to such
expressions before casting to round instead of truncating, which
should be enough to avoid the problem. Also replace some
non-performance-critical use of float types by doubles.
2009-07-10 22:58:56 +03:00
Uoti Urpala
3f75062ca6
demux_mkv: Round more seeks to "backwards" keyframes
...
Allow more fuzziness in treating timestamps as inaccurate attempts to
seek "exactly" to a keyframe. A seek forward can now actually go to a
keyframe 5 ms back from the timecode, and correspondingly for seeks
backwards. Before only 1 ms was allowed. This helps with some
files that have inaccurate chapter boundaries.
2009-07-09 18:23:35 +03:00
Uoti Urpala
d9977e1c81
demux_mkv: Make seeks more precise in some cases
...
When seeking backward, after seeking to the file position specified by
an index entry skip packets until the timecode of that index entry.
The existence of the entry should guarantee a keyframe there before
the seek target time.
2009-07-09 18:13:49 +03:00
Uoti Urpala
a2037a2eff
Merge svn changes up to r29412
2009-07-07 02:56:01 +03:00
Uoti Urpala
0eb321bf2c
Remove trailing whitespace from most files
2009-07-07 02:34:35 +03:00
Uoti Urpala
6d908205fb
Merge svn changes up to r29304
2009-07-07 02:07:11 +03:00
Amar Takhar
e306174952
Translation system changes part 2: replace macros by strings
...
Replace all MSGTR_ macros in the source by the corresponding English
string.
2009-07-07 01:38:20 +03:00
Amar Takhar
b5972d6f14
Translation system changes part 1: wrap translated strings
...
Replace mp_msg() calls which have a translated string as the format
argument with mp_tmsg and add _() around all other translated strings.
2009-07-07 01:28:07 +03:00
reimar
542d2e56ce
Print information about chapters with -identify.
...
Patch by Adrian Stutz [adrian sttz ch]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29408 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-28 13:19:26 +00:00
reimar
7924781b04
AVStream.language is deprecated, switch to av_get_metadata instead.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29386 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-24 08:13:52 +00:00
reimar
bc8b79a37d
Move allocation to avoid a possible memleak if new_sh_audio fails.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29385 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-24 08:06:46 +00:00
reimar
6a434d676b
Remove pointless stream count checks, new_sh_* already checks for that.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29384 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-24 08:04:38 +00:00
reimar
00be4423da
Print ID_AID_???_LANG and ID_SID_???_LANG in lavf demuxer so that frontends
...
can correctly display the languages of audio and subtitle tracks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29383 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-24 07:49:04 +00:00
reimar
f29dc82d7e
Fix compilation: codec_wav_tags/codec_bmp_tags were renamed to
...
ff_codec_wav_tags/ff_codec_bmp_tags.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29382 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-23 17:50:08 +00:00
reimar
4f1425f256
Move printing of ID_AID_???_LANG to ts_add_stream instead of ts_detect_streams.
...
This makes sure it is printed only once per track and after ID_AUDIO_ID.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29381 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-23 09:35:20 +00:00
reimar
09f62d5aff
Initialize es->lang to ensure a previous value does not get misattributed
...
to a different track.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29380 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-23 09:33:42 +00:00
reimar
44edd8a6d7
Remove duplicate printing of ID_AUDIO_ID/ID_VIDEO_ID, those are already
...
printed by the new_sh_... functions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29378 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-21 10:55:41 +00:00
reimar
e8bcaf0fca
TS demuxer: make the IDs used by DEMUXER_CTRL_SWITCH_* and DEMUXER_CTRL_IDENTIFY_PROGRAM
...
match those printed as ID_VIDEO_ID/ID_AUDIO_ID and accepted with -vid/-aid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29377 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-21 10:47:44 +00:00
reimar
29369f0c33
Add const where appropriate, also gets rid of a compiler warning.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29338 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-01 09:43:32 +00:00
reimar
b3f4cd6c52
100l, do not read probe buffer if it will not be used because a format was forced.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29337 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-01 09:39:02 +00:00
reimar
ea47ab2a9f
In all demux_info_add calls change "name" to "title".
...
Currently "name" and "title" are both used at random, this makes it consistent.
"title" was chosen because it is less ambiguous and also the get_meta_title
slave mode command uses that (there is no get_meta_name command).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29330 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-30 13:18:57 +00:00
lu_zero
97b04458ed
Unify over rtsp_transport_tcp as var to hold the -rtsp-stream-over-tcp flag and make sure libnemesi only builds are fine
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29322 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-25 20:28:35 +00:00
diego
6e9cbdc104
whitespace cosmetics: Remove all trailing whitespace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00