cehoyos
419e4f684a
Allow demuxer lavf to export CODEC_ID_DVB_TELETEXT.
...
Patch by Francesco Lavra, francescolavra interfree it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29849 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-07 12:55:07 +00:00
cehoyos
423c415534
Separate teletext from tv support.
...
Path by Francesco Lavra, francescolavra interfree it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29848 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-07 12:31:05 +00:00
reimar
1698db0726
Remove pointless and broken (e.g. does not set aid and vid) -tsprog handling
...
from lavf demuxer, mplayer.c makes sure IDENTIFY_PROGRAM is called with the
right arguments, and that code actually works in contrast to the one in demux_open_lavf.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29847 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-07 11:15:26 +00:00
reimar
25f0498660
Remove an empty program if the one requested by IDENTIFY_PROGRAM does not exist
...
instead of incorrectly claiming that the demuxer does not support programs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29845 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-07 11:09:23 +00:00
compn
fe57d3e844
cosmetics: alphabetize
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29820 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-03 23:54:32 +00:00
compn
f4578bf655
10l for breaking compilation. change eatgv to tgv
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29819 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-03 23:45:11 +00:00
compn
869aad500e
add ffmpeg eatgv codec
...
patch by Jan Engelhardt jengelh ta medozas.de
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29816 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-03 20:03:37 +00:00
uau
ce2300b437
demuxer.c: Add initialization missing from previous commit
...
Reimar's previous commit ("Unbreak the demuxer-specific code in
video.c with e.g.") added the new field "non_interleaved" in
demux_stream structs, but this field was not initialized anywhere.
Under suitable circumstances this could cause a "Too many
video/audio packets in the buffer" error and failing playback. Fix
the problem by cleaning up the code that creates new instances of the
struct. Now fields will be initialized to 0 by default.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29812 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-02 01:40:09 +00:00
reimar
1280614c9f
Unbreak the demuxer-specific code in video.c with e.g.
...
-audiofile by moving the code to manually interleave
subtitles to mp_common.c.
video.c should still be changed to not be demuxer-specific
anymore, it is bad practice but fully fixing it is non-trivial.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29810 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-01 09:48:34 +00:00
reimar
ae7068047a
Find and take into account stream start time for ogg files.
...
This also makes the demuxing function set the keyframe flag for
vorbis packets that aren't header packets and have a time stamp,
even if we do not have vorbis_info struct yet.
The reason for this is that header packets always have 0 as time stamp.
Fixes bug #1585
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29776 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-16 08:42:00 +00:00
cehoyos
94229a8420
Play TrueHD in BluRay with demuxer lavf.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29751 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-05 08:41:45 +00:00
reimar
1ad332f8a5
lavf: if seeking in the desired direction failed, also try in the opposite one,
...
otherwise we might end up at some random position (where lavf last ended
up while trying to build the index).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29741 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-30 08:19:49 +00:00
reimar
70cdf76c6a
Avoid void * arithmetic.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29740 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-30 07:54:04 +00:00
reimar
0b8508274c
Simplify aac_get_sample_rate_index
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29739 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-30 07:52:37 +00:00
reimar
640d819512
Check for grow_array allocation failure.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29738 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-30 07:48:01 +00:00
reimar
62a3efebf2
Avoid a possible crash if num_cluster_pos is 0.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29737 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-30 07:45:10 +00:00
reimar
eb5571e57e
Check for integer overflow in grow_array.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29736 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-30 07:41:00 +00:00
reimar
aa576e8fc0
Rearrange code of grow_array to make it easier to extend.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29735 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-30 07:35:33 +00:00
reimar
f6f8acc19a
Avoid a memleak if realloc fails in grow_array.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29734 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-30 07:33:05 +00:00
reimar
d1b5f6efa1
Change grow_array argument from void ** to void *, this avoids a aliasing
...
violation (thus making gcc 4.4.x compile the code correctly) and allows to get
rid of some casts at the expense of making the code less clear.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29733 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-30 07:27:43 +00:00
diego
f318d4c900
Add 0x85 ad ID for DTS audio.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29703 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-23 09:12:19 +00:00
cehoyos
a1e5f14ed1
Allow playback of dnxhd files, as produced by FFmpeg regression test.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29700 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-22 00:02:05 +00:00
reimar
bd44692ac7
Get rid of useless indirection and use the demuxer argument directly instead of
...
ds->demuxer.
This makes it also work again with -audiofile without having to add more hacks to
demux_demuxers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29677 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-14 08:51:00 +00:00
reimar
22986e51c1
Reduce verbosity if demuxer sets an info value to the same as the current value.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29676 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-14 08:29:18 +00:00
reimar
86ff541253
Add w64 to list of preferred lavf formats (otherwise demux_audio incorrectly
...
claims the Wave64 files but can not handle them).
Patch by Daniel Verkamp [daniel drv nu].
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29668 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-10 17:30:02 +00:00
reimar
cd5fa27550
Sort preferred_list alphabetically since the order does not matter otherwise.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29667 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-10 17:28:35 +00:00
reimar
873d120347
Add CODEC_ID_ADPCM_IMA_AMV to lavf codec_tag override list instead of
...
reimplementing that functionality.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29664 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-08 21:45:36 +00:00
reimar
1ea5135f6f
Make all mp_*_taglists const.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29663 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-08 21:42:51 +00:00
reimar
64c5127103
Fix an endless loop if all programs are empty.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29660 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-08 09:08:05 +00:00
reimar
b05f2d0bdf
Always register all streams from libavformat, not just those belonging to a program.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29657 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-08 08:55:05 +00:00
vitor
9d99f5bd8d
Add support for lavf vqf demuxer and lavc TwinVQ decoder.
...
Also make lavf the default demuxer for vqf.
Ok'ed by Compn on IRC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29655 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-07 17:20:44 +00:00
reimar
bceec9b4b2
100l, SIZE_MAX must be UINT_MAX to prevent an integer overflow later on,
...
also it is preferable if demuxer parsing does not differ between architectures.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29640 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-04 09:21:06 +00:00
reimar
46a0ddd36e
free(), delete and delete[] are all different and can't just be used at random,
...
so change code to use the one appropriate for the allocation used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29627 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-02 11:07:02 +00:00
reimar
986499e97e
Add a hack to ensure data from e.g. mov format -subfile gets read at all
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29611 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-01 15:00:49 +00:00
reimar
76699d67f0
Hack demux_demuxers so that demux_demuxers_fill_buffer is actually called.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29610 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-01 14:51:49 +00:00
cehoyos
5babf10d75
Fix MPEG-4 ASP in MPEG transport streams with -demuxer lavf.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29600 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-31 09:35:56 +00:00
cehoyos
58794cf766
Fix EAC3 in MPEG transport streams with -demuxer lavf.
...
Patch by Wang William, william0wang gmail
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29599 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-31 09:09:00 +00:00
cehoyos
8593195592
Fix DTS in MPEG transport streams with -demuxer lavf.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29597 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-31 08:42:36 +00:00
cehoyos
7a20e9060a
Fix AAC in MPEG transport stream for -demuxer lavf.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29596 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-31 08:31:12 +00:00
diego
aa16e6ca7d
cosmetics: alphabetically order lists
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29595 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-31 05:21:12 +00:00
cehoyos
74f6a6ba52
Rename mp_wav_override_tag* as mp_codecid_override_tag* to reflect that
...
it now can be used for both audio and video.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29593 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-30 23:01:36 +00:00
cehoyos
1912561b1e
Fix MPEG2 and H264 in MPEG transport stream with demuxer lavf.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29591 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-30 22:52:47 +00:00
cehoyos
361bdec7ed
Use mp_wav_override_taglists for both audio and video.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29590 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-30 22:51:52 +00:00
cehoyos
8d8aa1a4cf
Fix MP2 and AC3 with demuxer lavf in MPEG transport streams.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29589 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-30 21:27:45 +00:00
cehoyos
97503eb4ee
Support PCM in Bluray streams.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29588 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-30 21:14:42 +00:00
reimar
9e5e535e34
Reuse ds_get_packet in ds_get_packet_pts
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29546 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-23 15:32:42 +00: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
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