Commit Graph

3213 Commits

Author SHA1 Message Date
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
reynaldo c9869e7c5b Get rid of some more trailing whitespace
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29298 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 03:03:35 +00:00
rtogni 0d7de49f1c chunk size = 0 is valid for DATA chunks (used in live streams), don't
print warning message



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29289 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-10 21:13:15 +00:00
diego f077569dff Add standard license header to all files in libmpdemux.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29280 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-08 21:51:13 +00:00
diego 537d6886d5 Replace informal GPL license header by standard GPL header.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29279 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-08 21:47:50 +00:00
diego e326ffeb9c Replace informal LGPL header by standard LGPL license header.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29278 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-08 21:47:03 +00:00
diego bcb63539f4 Add prototype for mp_a52_framesize().
This fixes an implicit declaration warning when liba52 is disabled.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29264 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-05 17:36:31 +00:00
reimar 350ad05cc9 libavformat is now the default for mov, update extension.c to match this.
Fixes direct playback of e.g. http://accent.gmu.edu/soundtracks/japanese7.mov
which was played by the native demuxer (and that one is broken for it).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29181 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-15 08:38:39 +00:00
diego 2e903f7c75 Remove unnecessary malloc.h #includes and related #ifdeffery.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29126 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-02 09:20:48 +00:00
bcoudurier b578fedf77 override codec tag for pcm s32le and s32be, used in mov
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29124 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-02 02:31:17 +00:00
diego df53cdd57d Add config.h #include, necessary for HAVE_MALLOC_H check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29123 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-01 16:28:25 +00:00
reimar b5fcf45f11 Increase probe buffer size to 32kB, this makes ac3 auto-detection far more reliable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29121 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-01 09:24:46 +00:00
bcoudurier 9ae48213f8 override lavf tag for pcm s24le, mov uses the same for s24be
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29110 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-30 22:49:28 +00:00
reimar 20a4844e80 Update demuxer->sub->id and demuxer->sub->sh if a new subtitle stream is
created that matches the user-requested one.
Fixes -slang and -sid with DVDs (anything that uses demux_mpg actually).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29095 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-29 11:21:18 +00:00
reimar eee30602c5 Check for _WINGDI_ instead of _WINGDI_H before defining BITMAPINFOHEADER
since former works on both 32 and 64 bit MinGW

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29071 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-27 18:55:21 +00:00
compn f8a56efb5c map jls (jpeg-ls), thm and db (thumbnails) files to jpg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29025 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 19:46:13 +00:00
reimar 37e7934dce Get rid of DEMUXER_TYPE_NUV define, it is no longer used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28915 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-09 15:01:53 +00:00
reimar 8c5b570b50 Get rid of nuppelvideo.h and its ugly packed struct and instead write the
frame header directly in nuv encoder.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28914 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-09 15:01:12 +00:00
reimar 3a0ffa5bf4 Remove now unused parts of nuppelvideo.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28908 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-09 13:23:27 +00:00
reimar 601d694829 Remove native nuv demuxer, it only needs more code to achieve the same thing
as the libavformat demuxer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28907 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-09 13:11:37 +00:00
reimar 29c8d70242 Remove unused variable from demux_mov.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28879 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-08 09:28:01 +00:00
reimar f31339b75b Fix mp_msg call with too few arguments.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28805 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-04 08:11:42 +00:00
zuxy 757e575aeb Be more robust against corrupted RM files that contain invalid packet length
by seeking to a known good place when index table is available.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28665 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-19 11:42:05 +00:00
diego be8c67909b Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning:
mem.c:32:5: warning: "HAVE_MALLOC_H" is not defined


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28629 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 11:16:19 +00:00
diego 1b915e419e Replace double semicolon by single semicolon.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28611 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-16 02:00:29 +00:00
zuxy c39bb23833 Fix a regression caused by r17933; RealMedia index tables could never be printed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28585 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 11:01:26 +00:00
zuxy ce07cc3b5e Support seek in multirate RealMedia files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28584 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 10:50:26 +00:00
aurel de03d58545 change internal real video packetizing format to the more straight forward one
see [MPlayer-dev-eng] [PATCH] cleanup/uniformize real video packetizing
patch blessed by Roberto


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28503 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 22:00:57 +00:00
diego 19e71dbc54 Fix a couple of unused variable warnings through the av_unused attribute.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28476 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-07 15:29:22 +00:00
diego 2817da6233 Convert CONFIG_ZLIB into a 0/1 option.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28475 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-07 15:23:55 +00:00
reimar 75243478ce Adapt to lzo changes in libavutil
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28448 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-02 20:22:36 +00:00
compn 3788789408 increase max subtitle stream limit
patch by henryk (irc)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28381 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-28 00:44:48 +00:00
diego 0c3d542dc7 WORDS_BIGENDIAN is defined/undefined, not 0/1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28374 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-26 09:56:27 +00:00
nicodvb 39b7c1576d in parse_pat() IDENTIFY program number and pmt_pid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28348 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-22 21:50:13 +00:00
cehoyos 83c523f9ea Fix compilation: s/ff_gcd/av_gcd.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28338 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-17 11:29:36 +00:00
reimar 93d598c7b2 Lots and lots of #ifdef ARCH_... -> #if ARCH_...
and #ifdef HAVE_MMX etc -> #if HAVE_MMX.
There might be still more that need to be fixed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28325 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-16 09:21:21 +00:00
diego 762aab4719 Rearrange genres between numbers 53 and 63 into the correct order.
patch by Gil Kloepfer, mpldev09 kloepfer org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28283 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-09 10:14:03 +00:00