log libmpdemux/demux_mkv.c @ 27442:afa2cc0166be

age author description
Wed, 30 Jul 2008 12:01:30 +0000 diego Start unifying names of internal preprocessor directives.
Thu, 15 May 2008 21:25:41 +0000 diego Remove unused function, fixes the warning:
Thu, 15 May 2008 15:54:17 +0000 diego Remove unused variable, fixes the warning:
Thu, 15 May 2008 13:52:44 +0000 diego cosmetics: Break overly long lines.
Thu, 15 May 2008 13:48:23 +0000 diego Mark static tables const.
Sat, 19 Apr 2008 16:53:44 +0000 rtogni Revert r26412: policy violation
Sat, 12 Apr 2008 15:51:11 +0000 uau demux_mkv.c: Mark some static tables const
Sun, 30 Mar 2008 16:55:46 +0000 eugeni Support 'default' attribute for audio and subtitle tracks.
Fri, 29 Feb 2008 17:25:55 +0000 eugeni Remove unused function.
Fri, 29 Feb 2008 17:25:54 +0000 eugeni Reindent.
Fri, 29 Feb 2008 17:25:52 +0000 eugeni Don't select audio stream in lavf and mkv demuxers.
Fri, 29 Feb 2008 17:25:47 +0000 eugeni Don't select subtitle track in lavf and mkv demuxers.
Fri, 29 Feb 2008 17:25:41 +0000 eugeni Remove stupid checks of free() argument.
Fri, 29 Feb 2008 17:25:39 +0000 eugeni Fill sh_sub_t.lang in lavf, mkv and ogg demuxers. Use it for printing subtitle
Fri, 29 Feb 2008 17:25:37 +0000 eugeni Fill sh_audio_t.lang in lavf and mkv demuxers. Use it for printing audio track
Mon, 25 Feb 2008 15:46:36 +0000 diego FFmpeg now uses different (unified) #include paths.
Mon, 11 Feb 2008 22:03:34 +0000 nicodvb -chapter is now handled uniformly calling demuxer_seek_chapter() instead
Sun, 03 Feb 2008 12:14:29 +0000 reimar Allow demuxers to choose a default value for correct_pts
Tue, 29 Jan 2008 15:11:38 +0000 reimar Use defines to give names to the different seek flags.
Sun, 13 Jan 2008 16:00:39 +0000 reimar Make all demuxer_desc_t const, thus moving them to .rodata
Sat, 12 Jan 2008 01:12:39 +0000 eugeni Instead of keeping attachments in mkv demuxer, use demuxer_add_attachment().
Fri, 11 Jan 2008 21:45:17 +0000 eugeni Move all subtitle parsing from mkv demuxer to update_subtitles().
Fri, 11 Jan 2008 21:45:15 +0000 eugeni Init and destroy ass_tracks in demuxer.c based on sh_sub->type value.
Fri, 11 Jan 2008 21:45:13 +0000 eugeni Set extradata for subtitle tracks in mkv demuxer.
Fri, 11 Jan 2008 21:45:08 +0000 eugeni Factorize private data decoding for subtitle tracks in mkv demuxer.
Wed, 19 Dec 2007 08:35:40 +0000 ulion Vobsub support tridx setting in .idx file.
Mon, 10 Dec 2007 04:37:26 +0000 ulion Move temp variable declaration into inner loop scope.
Sun, 09 Dec 2007 06:58:57 +0000 ulion Convert vobsub custom colors from rgb to yuv using a common function.
Sat, 08 Dec 2007 12:15:03 +0000 ulion Move vobsub palette->yuv convert code into a common function.
Sat, 08 Dec 2007 02:38:02 +0000 ulion Restore y of palette into the same value range as it was in the .ifo file.
Sun, 21 Oct 2007 22:57:42 +0000 aurel add support for wavpack into matroska
Sun, 26 Aug 2007 20:46:38 +0000 diego Fix warnings:
Mon, 16 Jul 2007 14:01:53 +0000 reimar Avoid crash if a non-existent audio track is selected with -aid
Fri, 13 Jul 2007 13:23:41 +0000 aurel fix typo in a comment
Thu, 05 Jul 2007 22:06:05 +0000 reimar Add some missing frees.
Thu, 05 Jul 2007 22:01:07 +0000 reimar Avoid code duplication and ugly config.h hack by using av_strlcat/av_strlcpy
Sun, 24 Jun 2007 13:34:16 +0000 reimar index_mode is already defined in demuxer.h
Sun, 24 Jun 2007 08:12:08 +0000 reimar Remove the now unused demux_mkv_change_subs function
Sun, 24 Jun 2007 07:29:03 +0000 reimar Set demuxer->sub->sh to one of the s_streams like done for audio and video.
Sat, 23 Jun 2007 16:57:27 +0000 reimar 100l, last demux_mkv patch passed ints instead of pointers to them to sscanf
Sat, 23 Jun 2007 15:38:00 +0000 reimar Use sh_sub_t instead of mkv_track_t argument where possible, simplifying the code a bit.
Wed, 20 Jun 2007 18:19:03 +0000 uau demux_mkv very long seek fix
Sun, 10 Jun 2007 16:45:30 +0000 aurel Don't set random codec parameters for AC3/DTS in mkv.
Thu, 07 Jun 2007 22:45:41 +0000 eugeni Fix segfault when encoding from an mkv file with embedded fonts.
Mon, 28 May 2007 18:13:33 +0000 reimar Get rid of __attribute__((__packed__)) in Matroska demuxer
Thu, 17 May 2007 10:05:00 +0000 reimar Remove useless setting of dp->len, it is already set to that value by
Thu, 10 May 2007 14:05:06 +0000 reimar Fix indentation broken in r23287
Thu, 10 May 2007 14:01:53 +0000 reimar Support theora in mkv. Sample: http://samples.mplayerhq.hu/Matroska/theora.mkv
Thu, 10 May 2007 13:58:57 +0000 reimar Avoid code duplication in mkv demuxer for standard fourcc/extradata handling
Tue, 01 May 2007 23:04:21 +0000 eugeni Fix NULL pointer dereference in demux_mkv that happens when
Fri, 16 Mar 2007 14:55:41 +0000 uau Matroska seeking fixes
Thu, 15 Mar 2007 22:34:45 +0000 diego Use explicit path for headers from the loader/ directory.
Thu, 15 Mar 2007 18:36:36 +0000 diego Add explicit location for headers from the stream/ directory.
Mon, 05 Mar 2007 12:02:57 +0000 reimar Remove subcp_open/subcp_close from mkv demuxer, they are useless since a long time.
Thu, 01 Mar 2007 12:54:08 +0000 reimar Use libavutil's av_clip* instead of unreadable MIN/MAX chaos.
Thu, 08 Feb 2007 14:19:18 +0000 reimar Make sure sub->sh is set when a subtitle is selected
Mon, 05 Feb 2007 18:25:28 +0000 reimar Another round of subtitle code cleanup
Wed, 31 Jan 2007 23:28:34 +0000 reimar Make mkv demuxer use ffmpeg LZO as well.
Sat, 27 Jan 2007 14:54:45 +0000 reimar Simplify and make lzo decompression code more similar to zlib one.
Sat, 27 Jan 2007 14:52:18 +0000 reimar Forgotten free on error
Sat, 27 Jan 2007 14:45:52 +0000 reimar *dest = malloc (*size); is useless directly before *dest = realloc (*dest, *size);
Thu, 25 Jan 2007 17:48:38 +0000 diego Remove comment printed by -demuxer help, it belongs in the copyright header.
Sat, 06 Jan 2007 19:07:58 +0000 reimar Subtitle handling cleanup: factor out code for parsing embedded subtitles
Thu, 21 Dec 2006 22:11:47 +0000 uau Fix display of multiple simultaneous subtitles without libass.
Fri, 15 Dec 2006 19:35:06 +0000 eugeni VobSub tracks cannot be handled by libass, do not mark them with 'a'.
Sun, 03 Dec 2006 17:35:40 +0000 eugeni Rename: ass_process_font -> ass_add_font.
Sat, 02 Dec 2006 12:32:44 +0000 diego Remove superfluous bswap.h include.
Thu, 23 Nov 2006 17:37:28 +0000 eugeni Cosmetics: indentation fix.
Sun, 19 Nov 2006 14:23:54 +0000 reimar Generalize subtitle switching, demux_ogg does not need a special case
Tue, 14 Nov 2006 22:48:53 +0000 rtogni Don't spam the console with timestamps (non-error messages printed every
Tue, 14 Nov 2006 22:40:35 +0000 rtogni Fix extradata passing to lavc RV20 decoder
Mon, 13 Nov 2006 16:15:23 +0000 reimar Make subtitle stream handling more similar to audio and video streams.
Tue, 07 Nov 2006 18:14:30 +0000 mosu If parsing a seek head fails then mplayer should try continue parsing the file after the seek head.
Sun, 05 Nov 2006 20:29:29 +0000 reimar Fix index-based seeking in audio-only files, fixes bug #621
Sun, 05 Nov 2006 13:53:27 +0000 kraymer add MSGTR_MPDEMUX_MKV for demux_mkv.c
Sat, 28 Oct 2006 15:07:18 +0000 eugeni Libass interface reworked:
Sun, 15 Oct 2006 12:48:18 +0000 reimar Implement -noidx since index can use quite a bit of memory, esp. when using valgrind.
Thu, 12 Oct 2006 17:21:15 +0000 reimar Cosmetics
Thu, 12 Oct 2006 17:19:43 +0000 reimar strncpy->strlcpy
Thu, 12 Oct 2006 17:19:10 +0000 reimar Remove useless return; at end of function
Thu, 12 Oct 2006 17:18:20 +0000 reimar Simplify demux_mkv_get_sub_lang
Thu, 12 Oct 2006 14:11:39 +0000 ptt modifications pointed out by reimar doffinger
Wed, 11 Oct 2006 17:25:46 +0000 ptt added OSD audio switching visualization
Wed, 11 Oct 2006 15:57:51 +0000 reimar More possible memleaks.
Wed, 11 Oct 2006 15:47:37 +0000 reimar Avoid memleak on error while reading attachments or multiple
Tue, 10 Oct 2006 15:01:11 +0000 reimar Simplify (by using realloc with NULL parameter) and refactor code to grow
Mon, 09 Oct 2006 19:10:36 +0000 reimar Free track->language before assigning new value
Mon, 09 Oct 2006 18:56:16 +0000 reimar Missing (in close function)/misplaced free for track structure itself.
Mon, 09 Oct 2006 18:48:55 +0000 reimar Free track data if error occurs while reading trackentry
Mon, 09 Oct 2006 18:28:58 +0000 reimar Free track encodings on error or demuxer close
Mon, 09 Oct 2006 18:00:54 +0000 reimar replace malloc+memset by calloc
Mon, 09 Oct 2006 17:48:43 +0000 reimar Remove cast of realloc result missed in last patch
Mon, 09 Oct 2006 17:41:37 +0000 reimar Remove unneeded casts for malloc/realloc calls
Mon, 25 Sep 2006 21:17:43 +0000 eugeni Add matroska v2 (SimpleBlock) support.
Wed, 13 Sep 2006 02:02:17 +0000 eugeni Fix r19815: mkv_d->duration could be assigned an uninitialized value.
Tue, 12 Sep 2006 21:45:06 +0000 eugeni Fix seeking in Matroska files with non-default TimecodeScale value.
Tue, 12 Sep 2006 21:40:01 +0000 eugeni Fix block duration calculation in mkv demuxer.
Tue, 12 Sep 2006 21:33:10 +0000 eugeni Fix movie duration calculation in case when TimecodeScale element comes after
Sun, 03 Sep 2006 10:10:57 +0000 reimar Fix crash on DEMUXER_CTRL_SWITCH_AUDIO introduced by aid_vid_mismatch patch
Sat, 02 Sep 2006 20:46:26 +0000 eugeni Add support for rendering matroska plaintext subtitles with libass.
Sat, 02 Sep 2006 19:55:45 +0000 eugeni Matroska subtitles are always utf-8, no need to recode them.
Sat, 02 Sep 2006 19:51:26 +0000 eugeni Fix read beyond the end of allocated memory block.
Sat, 02 Sep 2006 19:39:24 +0000 eugeni Display track names in matroska files.
Fri, 01 Sep 2006 19:47:39 +0000 eugeni Extract "application/x-font" attachments from matroska, in addition
Sat, 26 Aug 2006 19:17:04 +0000 reimar Get rid of demux_aid_vid_mismatch mess.
Tue, 22 Aug 2006 22:11:01 +0000 eugeni SSA/ASS parser reworked, with 2 main results:
Fri, 18 Aug 2006 12:20:43 +0000 eugeni Fix seeking in matroska files when timecodes do not start from zero.
Sun, 06 Aug 2006 18:55:34 +0000 eugeni Add matroska chapter seeking capability.
Sat, 22 Jul 2006 14:35:49 +0000 rathann Native MPEG4 SP/ASP/AP support in Matroska.
Mon, 10 Jul 2006 02:51:52 +0000 rfelker more c++ decl crap
Fri, 07 Jul 2006 18:26:51 +0000 eugeni Initial libass release (without mencoder support).
Fri, 07 Jul 2006 18:02:49 +0000 eugeni Rename mkv_sh_sub_t to sh_sub_t, move it to demuxer.h.
Thu, 06 Jul 2006 06:58:17 +0000 uau Add a new video pts tracking mode, enabled by option -correct-pts.
Mon, 03 Jul 2006 13:21:54 +0000 reynaldo rm unnecesary casts from void* - part 4
Mon, 19 Jun 2006 18:34:29 +0000 nicodvb feed any audio track present in the mux; switch to any of the available audio tracks
Wed, 14 Jun 2006 14:05:59 +0000 uau Change free_sh_audio() to take demuxer and stream id as parameters
Sun, 04 Jun 2006 22:41:27 +0000 rtogni Fix potential integer overflows in memory allocation.
Sun, 14 May 2006 16:18:41 +0000 gpoirier fix parsing of vobsub private data, patch by Evgeniy Stepanov <eugeni P stepanov A gmail P com>
Mon, 08 May 2006 21:41:15 +0000 diego Unconditionally compile the Matroska demuxer.
Mon, 24 Apr 2006 07:20:34 +0000 reynaldo Get ride of the several if(identify) messy lines and rearangment of some of the output, both patches by Kiriuja mplayer-patches AT en-directo_net, his changes are barely unrelated, nevertheless Im commiting them thogeter just for the sake of my mental healt, I had both patches already applied on my local three
Mon, 24 Apr 2006 06:28:45 +0000 mosu Do not give bogus timestamps for laced packets with no default duration. Patch by Uoti Urpala ( uoti ! urpala () pp1 ! inet ! fi ).
Fri, 14 Apr 2006 21:08:25 +0000 reimar 10l, keyframes must have tag 0x10, not 1.
Mon, 03 Apr 2006 19:41:17 +0000 rtognimp Fix RealAudio codecs (add descrambling)
Wed, 22 Mar 2006 18:58:03 +0000 mosu Fix for playing RealVideo on PPC/big endian processors. Patch by Emanuele Giaquinta (emanuele ! giaquinta () gmail ! com).
Mon, 27 Feb 2006 19:48:31 +0000 corey Add audio_delay argument to demux_mkv_seek.
Wed, 04 Jan 2006 12:05:15 +0000 mosu Improved handling of text subs in Matroska files with adjacent newlines (\N) resulting in more than SUB_MAX_TEXT lines to display. Patch by Robert Henney (robh () rut ! org).
Fri, 18 Nov 2005 14:39:25 +0000 diego Unify include path handling, -I.. is in CFLAGS.
Sat, 05 Nov 2005 04:56:23 +0000 lorenm sort timestamps instead of assuming conventional B-frame order. (fixes x264 B-pyramid)
Sun, 30 Oct 2005 09:19:05 +0000 reimar move resync_audio_stream after seeking to demuxer.c
Sat, 22 Oct 2005 10:13:28 +0000 mosu Added support for A_AAC.
Thu, 13 Oct 2005 18:33:56 +0000 reimar Use PRI?64 defines as format strings for 64 bit variables.
Fri, 02 Sep 2005 08:32:32 +0000 ods15 Make -identify's 'ID_LENGTH=' print a float and not an integer.. The
Wed, 24 Aug 2005 12:33:32 +0000 mosu Fixed seeking for AVC-in-Matroska (wrong assumption of what kind of references may be present for a non-I-frame).
Fri, 05 Aug 2005 19:57:47 +0000 rtognimp Demuxer modularization
Thu, 09 Jun 2005 07:45:17 +0000 mosu demux_stream_t.pts should not be assigned by the demuxer. Fixes playback of VFR files. Patch by Sam Dennis <sam () malfunction ! screaming ! net>
Sat, 21 May 2005 06:50:08 +0000 mosu Do not switch to audio tracks whose codec private data differs from the main audio track's as this will most likely result in messed up audio output. Patch by Michael Behrisch <list () behrisch ! de>
Thu, 19 May 2005 12:09:26 +0000 mosu Reset the saved max_pts used for timecode reordering after seeking. Otherwise playback is broken after seeking back in a file that needs the timecodes to be reordered. Patch by Sam Dennis <sam () malfunction ! screaming !net>
Sat, 14 May 2005 06:52:25 +0000 nicodvb removed unused variables
Thu, 12 May 2005 17:35:58 +0000 nicodvb vorbis extradata is now passed from demuxer to decoder in matroska's way
Thu, 28 Apr 2005 14:43:19 +0000 reimar adds a parameter to the switch_audio command to directly select a track.
Wed, 13 Apr 2005 22:33:19 +0000 gpoirier Online audio switching now supports Matroska too. Patch by Michael Behrisch
Sun, 27 Feb 2005 18:11:17 +0000 rfelker Fix the ogg fourcc nightmare!!!
Fri, 21 Jan 2005 18:25:44 +0000 mosu Handle missing palettes in the info part of VobSubs in Matroska files correctly by giving mplayer a NULL pointer. This way it will use a default palette instead of black only. Patch by Csillag Kristof (fenwick () freemail ! hu)
Sun, 16 Jan 2005 14:59:19 +0000 mosu More support for AVC in Matroska.
Sun, 16 Jan 2005 12:17:41 +0000 reimar set sub_utf8 only when actually using mkv subtitles, will break external
Sat, 15 Jan 2005 16:11:45 +0000 reimar Move generic length and percent pos calculation to demuxer.c
Thu, 13 Jan 2005 21:04:34 +0000 mosu Do not access word-sized elements on potentially unaligned memory addresses. RISC processors usually do not like that.
Tue, 11 Jan 2005 18:32:49 +0000 reimar Call subcp_close when closing the demuxer
Tue, 11 Jan 2005 08:30:56 +0000 mosu Support for AVC in Matroska.
Sun, 28 Nov 2004 21:08:46 +0000 mosu Make use of the default duration for one frame if it is present in the file. This produces much smoother timecodes for laced audio frames. And I REALLY don't know why I missed that before...
Fri, 26 Nov 2004 16:36:03 +0000 mosu Added support for MPEG-1 and MPEG-2 in Matroska.
Thu, 25 Nov 2004 22:24:00 +0000 mosu Output more information about vids, aids, sids, alangs and slangs with -identify. Patch by kiriuja <mplayer-patches@en-directo.net>
Sat, 30 Oct 2004 08:47:04 +0000 mosu DTS uses the format tag 0x2001. Patch by Joakim Plate (joakim ! plate () ecce ! se)
Tue, 28 Sep 2004 13:51:20 +0000 joey fix sub_select fiasco with global sub numbering. now multiple sub sources can be managed in essentially one list.
Tue, 21 Sep 2004 18:02:33 +0000 mosu With the latest change to dec_audio.c (1.32) the demuxers have to set sh_a->samplesize to something != 0.
Sat, 18 Sep 2004 14:35:19 +0000 reimar fix playback of files with displaysize not set (aspect was set to NaN for these)
Sun, 12 Sep 2004 14:01:13 +0000 mosu Spelling. Patch by Jan Minar <jjminar at fastmail onedot fm>.
Wed, 25 Aug 2004 07:52:52 +0000 mosu Cosmetics: fix some compiler warnings.
Tue, 24 Aug 2004 21:37:41 +0000 mosu Display the language code for subtitles from Matroska files.
Tue, 24 Aug 2004 20:58:29 +0000 mosu Support for subtitle switching in Matroska.
Wed, 28 Jul 2004 12:40:35 +0000 reimar fixes a crash and unchecked string-handling in ENCA code.
Mon, 28 Jun 2004 16:43:01 +0000 mosu Do not dereference NULL if no track could be found for a block.
Thu, 10 Jun 2004 11:16:44 +0000 mosu Support for the "custom colors" and "forced subtitles" entries in the VobSub idx. Made the parser handle whitespaces better.
Tue, 08 Jun 2004 21:30:32 +0000 mosu Try to get the "size:" and "palette:" entries for VobSub tracks from the private data.
Sat, 08 May 2004 17:52:25 +0000 henry ENCA support (http://trific.ath.cx/software/enca/)
Mon, 26 Apr 2004 09:22:17 +0000 rfelker fix exploitable buffer overflow
Fri, 02 Apr 2004 07:36:42 +0000 mosu Fixed the support for the A_MS/ACM CodecID which just stores a WAVEFORMATEX in the track's private data.
Fri, 26 Mar 2004 19:45:06 +0000 mosu Implemented "seek to position".
Thu, 25 Mar 2004 20:47:37 +0000 mosu Removed the limitation to max. eight laced blocks.
Thu, 18 Mar 2004 08:37:21 +0000 mosu Parse comma separated language lists instead of comparing the complete language string. Patch by Loren Merritt <lorenm at u dot washington dot edu>
Mon, 09 Feb 2004 19:21:08 +0000 mosu Exit when an invalid EBML ID has been read (e.g. for files that have been cut off).
Sun, 01 Feb 2004 10:58:50 +0000 mosu Do not open more than one audio/video/subtitle stream at the same time.
Sat, 31 Jan 2004 09:54:09 +0000 mosu Do not try to seek beyond the end of the stream when parsing the headers.
Tue, 27 Jan 2004 06:02:29 +0000 rfelker 100l
Thu, 22 Jan 2004 21:43:36 +0000 mosu Do not deactivate the video stream if no audio stream was wanted/found...
Tue, 20 Jan 2004 14:10:48 +0000 mosu Compiler/system compatibility fixes.
Tue, 20 Jan 2004 09:57:19 +0000 mosu Fixed subtitle clearing.
Mon, 19 Jan 2004 19:51:07 +0000 mosu Fixed the subtitle line overflowing for SSA if there were too many \N in the subs.
Mon, 19 Jan 2004 19:16:10 +0000 mosu Added the new C based Matroska demuxer by Aurelien Jacobs.