log libmpdemux/demux_ogg.c @ 32229:e7cd36fc291e

age author description
Sun, 12 Sep 2010 16:08:57 +0000 reimar Replace sizeof(BITMAPINFOHEADER)
Sun, 12 Sep 2010 13:01:05 +0000 reimar Replace sizoef(type) by sizeof(*ptrvar).
Sat, 11 Sep 2010 11:11:10 +0000 diego Move audio_lang / dvdsub_lang extern variable declarations to mpcommon.h.
Sat, 11 Sep 2010 10:44:28 +0000 diego Replace dvdsub_id extern declaration by mpcommon.h #include.
Sat, 07 Aug 2010 19:58:30 +0000 diego Avoid redundant use of variable 'size' in demux_ogg_read_packet(), fixes:
Sun, 18 Jul 2010 22:00:48 +0000 greg subtitles: convert SRT/MicroDVD markup into ASS markup
Sat, 10 Jul 2010 18:47:59 +0000 reimar Make the stream language an argument to the stream creation function
Fri, 16 Apr 2010 01:42:28 +0000 diego Merge two redundant if checks, patch by ubitux, ubitux gmail com.
Fri, 16 Apr 2010 01:34:32 +0000 diego cosmetics: reindent demux_ogg.c to K&R style plus some prettyprinting
Tue, 09 Mar 2010 19:21:39 +0000 reimar Return MP_NOPTS_VALUE if we can't figure out the pts, not 0.
Tue, 09 Mar 2010 19:19:32 +0000 reimar Improve handling of 0-size ogg packets.
Thu, 25 Feb 2010 22:44:02 +0000 reimar Add cast to proper type.
Thu, 18 Feb 2010 00:18:50 +0000 diego Add header for AVI print functions; avoids many forward declarations.
Wed, 17 Feb 2010 23:36:44 +0000 diego Add header for demux_ogg_open, init_avi_with_ogg; avoids forward declarations.
Wed, 17 Feb 2010 23:27:47 +0000 diego Mark demux_ogg_sub_id() as static; it is not used outside of the file.
Wed, 17 Feb 2010 23:25:02 +0000 diego Move up demux_ogg_sub_id, demux_ogg_sub_reverse_id; avoids forward declarations.
Wed, 17 Feb 2010 23:02:13 +0000 diego Add header file for store_ughvlc(); avoids forward declarations.
Wed, 17 Feb 2010 22:01:35 +0000 diego libmpdemux: Mark functions not used outside of their files as static.
Fri, 16 Oct 2009 08:42:00 +0000 reimar Find and take into account stream start time for ogg files.
Sat, 30 May 2009 13:18:57 +0000 reimar In all demux_info_add calls change "name" to "title".
Wed, 13 May 2009 02:58:57 +0000 diego whitespace cosmetics: Remove all trailing whitespace.
Fri, 08 May 2009 21:51:13 +0000 diego Add standard license header to all files in libmpdemux.
Wed, 03 Dec 2008 23:01:03 +0000 diego Get rid of pointless 'extern' keywords.
Thu, 07 Aug 2008 12:20:50 +0000 diego Give a CONFIG_ prefix to preprocessor directives that lacked one and
Thu, 07 Aug 2008 10:36:07 +0000 diego Rename font-related preprocessor directives.
Sat, 02 Aug 2008 16:30:32 +0000 diego Change a bunch of codec-specific preprocessor directives from a HAVE_
Fri, 01 Aug 2008 20:28:58 +0000 diego Rename some preprocessor directives from CONFIG_* to HAVE_* where appropriate;
Wed, 30 Jul 2008 12:01:30 +0000 diego Start unifying names of internal preprocessor directives.
Sat, 26 Jul 2008 22:27:50 +0000 reimar Get rid of horrible code that relies on codec-set context variable,
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
Thu, 14 Feb 2008 14:23:55 +0000 diego typo fix: inited --> initialized
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
Mon, 24 Dec 2007 16:27:52 +0000 reimar Add some const/static qualifiers as appropriate
Mon, 24 Dec 2007 16:05:09 +0000 reimar Use realloc_struct in more places for consistency
Mon, 24 Dec 2007 15:56:33 +0000 reimar Get rid of some of the more excessive () and casts.
Sat, 01 Dec 2007 15:12:05 +0000 reimar Finally replace get_uint?? by AV_RL??
Sat, 01 Dec 2007 15:01:55 +0000 reimar Get rid of annoying, space-wasting sizeof(uint32_t)
Sat, 01 Dec 2007 15:00:22 +0000 reimar Bigendian fix for ogg in AVI
Sat, 01 Dec 2007 14:58:00 +0000 reimar Use a loop instead of doing the same thing three times
Sat, 01 Dec 2007 14:55:58 +0000 reimar Use a pointer variable for extradata to simplify init_avi_with_ogg
Sat, 01 Dec 2007 14:09:48 +0000 reimar Create correct extradata for vorbis audio when used as avi sub-demuxer
Sat, 01 Dec 2007 13:50:30 +0000 reimar Fix some typos in comments, grammar is still bad.
Sat, 25 Aug 2007 12:02:16 +0000 diego Remove redundant variable declaration.
Sat, 28 Jul 2007 14:28:38 +0000 diego cosmetics: misc typo fixes
Fri, 27 Jul 2007 21:00:33 +0000 reimar Remove extern index_mode, it is already in demuxer.h
Mon, 28 May 2007 08:42:35 +0000 diego Remove some unused variables, patch by timwoj ieee org.
Thu, 17 May 2007 13:07:15 +0000 reimar Reuse AV_RL macros in ogg demuxer instead of its own overcomplicated implementations of it.
Wed, 09 May 2007 20:10:14 +0000 reimar Ignore comments where no '=' follows the comment name (otherwise
Thu, 15 Mar 2007 18:36:36 +0000 diego Add explicit location for headers from the stream/ directory.
Sat, 06 Jan 2007 19:19:15 +0000 reimar Simplify demux_ogg to use the sub_clear_text and sub_add_text functions.
Fri, 05 Jan 2007 18:03:58 +0000 reimar Simplify after last demux_ogg commit
Fri, 05 Jan 2007 18:02:18 +0000 reimar Do not access ogg_d->subs after freeing it.
Sat, 09 Dec 2006 12:24:11 +0000 reimar Get rid of min/max macros from aviheader.h, they do not belong here.
Sat, 09 Dec 2006 11:59:49 +0000 reimar Remove condition that should always be true
Sat, 09 Dec 2006 11:59:09 +0000 reimar Fix crash in ogg demuxer uninit with -aid
Thu, 07 Dec 2006 20:53:05 +0000 nicodvb made vorbis_info a member of ogg_stream rather than ogg_demuxer;
Thu, 07 Dec 2006 12:02:51 +0000 reimar vorbis_comment is only used locally, move it out of demuxer struct
Thu, 07 Dec 2006 12:02:01 +0000 reimar Remove unused ov_struct_t
Wed, 06 Dec 2006 10:46:50 +0000 reimar Fix memleaks caused by missing vorbis/theora_info/comment_clear calls.
Sun, 19 Nov 2006 14:35:39 +0000 reimar 10l, compilation error in r21054
Sun, 19 Nov 2006 14:23:54 +0000 reimar Generalize subtitle switching, demux_ogg does not need a special case
Sun, 19 Nov 2006 13:38:37 +0000 reimar Make -slang work again, sub->id is -2 by default, so -slang would be ignored
Sun, 19 Nov 2006 13:12:46 +0000 reimar Create a sh_sub_t for ogg subtitles.
Sun, 29 Oct 2006 13:17:26 +0000 reimar Make sure we do not read beyond end of subtitle packet
Sun, 29 Oct 2006 12:44:15 +0000 reimar realloc subtitle buffers since subcp_recode might have decreased their size.
Sun, 29 Oct 2006 11:05:49 +0000 reimar Support new flac-in-ogg, fixes bug #229
Sat, 21 Oct 2006 17:58:33 +0000 reimar Remove #ifdef HAVE_FLAC, it was never needed and nowadays is never defined.
Wed, 18 Oct 2006 16:09:59 +0000 reimar redone subcp_recode: get rid of static buffer, skip lines that failed to
Tue, 12 Sep 2006 09:00:10 +0000 diego Support for variable fps OGM files, blessed by Moritz.
Tue, 05 Sep 2006 20:18:42 +0000 nicodvb in fixup_vorbis_wf() set to 0 bitrates indicated as -1 (unspecified, according to the specs); patch by Andrew Savchenko - Bircoph list ru
Sat, 26 Aug 2006 19:17:04 +0000 reimar Get rid of demux_aid_vid_mismatch mess.
Fri, 04 Aug 2006 21:19:06 +0000 diego Move store_ughvlc to demux_mov as demux_ogg is not always compiled in.
Sun, 16 Jul 2006 01:40:24 +0000 reynaldo marks several strings inside structs as const when they hold just
Thu, 13 Jul 2006 05:03:43 +0000 reynaldo marks several string parameters as const, as they are not modified inside the function, Patch by Stefan Huehner, stefan AT huehner-org
Sat, 08 Jul 2006 17:28:36 +0000 diego Remove unused variables, patch by Stefan Huehner stefan at huehner org.
Thu, 06 Jul 2006 13:09:45 +0000 diego Move conditional compilation into the build system.
Mon, 03 Jul 2006 13:21:54 +0000 reynaldo rm unnecesary casts from void* - part 4
Sat, 17 Jun 2006 15:01:43 +0000 reimar Fix crash with all audio-only ogg files, the vorbis_info struct is not
Wed, 14 Jun 2006 19:48:54 +0000 uau Clean up audio pts handling, make audio pts tracking in the audio-only
Fri, 09 Jun 2006 21:43:23 +0000 nicodvb moved store_ughvlc() before #ifdef HAVE_OGGVORBIS, so it can be used by other demuxers when libogg and/or libvorbis are missing
Fri, 09 Jun 2006 21:30:06 +0000 nicodvb support for vorbis in mp4/mov
Wed, 07 Jun 2006 22:40:40 +0000 nicodvb first vorbis packet before vorbis_synthesis_headeri() must have b_o_s==1
Sun, 04 Jun 2006 22:41:27 +0000 rtogni Fix potential integer overflows in memory allocation.
Sat, 13 May 2006 06:12:25 +0000 rfelker accidentally committed this overflow fix with the declaration fix before.
Sat, 13 May 2006 05:48:16 +0000 rfelker 10^100l c++ declarations
Wed, 10 May 2006 22:54:24 +0000 nicodvb unbind demux_ogg from ad_libvorbis; this permits to use -ac ffvorbis without crashes
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, 27 Mar 2006 17:25:41 +0000 diego Convert printfs in aviprint.c to mp_msg and give the information printing
Fri, 24 Mar 2006 08:12:03 +0000 diego Convert all if(verbose>X) to mp_msg_test calls.
Wed, 08 Mar 2006 22:23:21 +0000 reimar in demux_ogg_read_packet initialize data to whole packet, reduces code and
Fri, 17 Feb 2006 01:57:41 +0000 corey Second-try commit of this patch.
Thu, 09 Feb 2006 14:08:03 +0000 rathann Patch by Stefan Huehner / stefan % huehner ! org \
Sun, 18 Dec 2005 11:55:47 +0000 reimar fix crash with invalid -vid and no audio stream
Mon, 05 Dec 2005 01:25:31 +0000 rathann fix
Fri, 18 Nov 2005 14:39:25 +0000 diego Unify include path handling, -I.. is in CFLAGS.
Sat, 05 Nov 2005 11:58:25 +0000 reimar Speex support. Seeking and pts generation does not work.
Tue, 01 Nov 2005 16:12:53 +0000 reimar Fix two (loosely) related bugs: massive A-V desync with -audiofile (bugzilla
Sun, 30 Oct 2005 09:19:05 +0000 reimar move resync_audio_stream after seeking to demuxer.c
Thu, 13 Oct 2005 18:33:56 +0000 reimar Use PRI?64 defines as format strings for 64 bit variables.
Mon, 26 Sep 2005 20:13:10 +0000 rtognimp Don't pass NULL pointers to demux_info_add()
Mon, 19 Sep 2005 22:52:03 +0000 alex Disassemble comments and pass it to the demux_info interface
Fri, 02 Sep 2005 08:32:32 +0000 ods15 Make -identify's 'ID_LENGTH=' print a float and not an integer.. The
Fri, 05 Aug 2005 19:57:47 +0000 rtognimp Demuxer modularization
Fri, 13 May 2005 00:00:54 +0000 nicodvb prevent possible exploit
Thu, 12 May 2005 23:27:22 +0000 nicodvb fixup the correct sh_a
Thu, 12 May 2005 23:12:27 +0000 nicodvb fixed too few parameters to mp_msg(); silence compilation warnings, removed unused variable
Thu, 12 May 2005 23:01:52 +0000 nicodvb don't call fixup_audio if there's no audio
Thu, 12 May 2005 17:35:58 +0000 nicodvb vorbis extradata is now passed from demuxer to decoder in matroska's way
Mon, 02 May 2005 07:59:12 +0000 reimar Fix the memleak fix: in case of error, demux_close_ogg should be called
Sun, 01 May 2005 10:40:42 +0000 mosu Nasty workaround for codec initialization data. In _at least_ one case (AAC) the stream_header.size element seems to be four bytes off. Skip those bytes but only for known cases (again AAC) and not for all.
Sun, 27 Feb 2005 18:11:17 +0000 rfelker Fix the ogg fourcc nightmare!!!
Tue, 22 Feb 2005 19:18:45 +0000 henry Theora fixes:
Sun, 06 Feb 2005 10:30:10 +0000 reimar Memleak fixes. Based on patch by Timothy Lee (timothy lee at siriushk com).
Sat, 22 Jan 2005 14:28:23 +0000 mosu More user-friendly stream, -xid and -slang info output even in non-verbose mode part 2.
Fri, 21 Jan 2005 18:55:01 +0000 mosu More user-friendly stream, -xid and -slang info output even in non-verbose mode.
Wed, 19 Jan 2005 12:12:36 +0000 reimar 100l, completely broken pointer arithmetic causing crashes.
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>
Fri, 05 Nov 2004 21:40:34 +0000 mosu Fix member alignment for usage on 64bit processors.
Sat, 30 Oct 2004 08:42:25 +0000 mosu Declare a prototype for the function before it is used. Otherwise some compiler versions will "optimize" them away, and linking will fail.
Thu, 14 Oct 2004 15:09:35 +0000 reimar some memory leaks fixed
Tue, 28 Sep 2004 14:00:49 +0000 joey show ogg subtitle language on OSD, if available
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, 24 Aug 2004 21:20:24 +0000 mosu Do not use globals. Put the variables into the appropriate demuxer struct instead.
Sun, 22 Aug 2004 18:47:48 +0000 joey moved combined vobsub_lang into sub_select
Wed, 28 Jul 2004 12:40:35 +0000 reimar fixes a crash and unchecked string-handling in ENCA code.
Sun, 27 Jun 2004 13:55:40 +0000 mosu The granulepos does not depend on the number of channels, only on the sample size. Patch by Wolfram Gloger (wmglo at dent dot med dot uni-muenchen dot de).
Sat, 08 May 2004 17:52:25 +0000 henry ENCA support (http://trific.ath.cx/software/enca/)
Fri, 07 May 2004 08:31:39 +0000 mosu Cosmetics. Shortened the "displaying subtitle..." message. Replaced "OGG" with "Ogg" as it is a name, not an abbreviation/acronym.
Wed, 05 May 2004 21:05:36 +0000 mosu Be more verbose and tell the user which subtitle stream has been selected (if any).
Thu, 29 Apr 2004 21:01:09 +0000 mosu Leave the subs uninitialized and not "forcefully off" if the user hasn't chosen a stream with -sid. If he used -slang then we need the comment packet which might be found after demux_ogg_open has finished.
Fri, 23 Apr 2004 22:30:18 +0000 rfelker 1000000000000l to bunkus
Fri, 23 Apr 2004 16:36:33 +0000 mosu Clear subs in broken OGM files (those without empty subtitle packets) a bit later in order to avoid flickering if there are more subs following immediately. Patch by Michael Reinsch <mr at uue adot org>
Fri, 23 Apr 2004 16:31:30 +0000 mosu Much improved seeking. Patch by Michael Behrich <behrisch at informatik adot hu-berlin anotherdot de>
Tue, 06 Apr 2004 06:36:46 +0000 mosu Changed -sid/-aid/-vid to be zero based and select the n'th stream of its type, e.g. -sid 1 will select the second subtitle stream.
Fri, 02 Apr 2004 19:20:34 +0000 mosu Support for selecting subtitles with -slang. Patch by Andriy N Gritsenko <andrej at lucky onedot net>
Sat, 31 Jan 2004 09:38:01 +0000 mosu Cleanup and small improvement in seeking if the final_granulepos is known. Patch by Michael Behrisch <behrisch@informatik.hu-berlin.de>
Tue, 06 Jan 2004 11:22:32 +0000 mosu Properly set the file duration for audio-only Ogg files. Patch by Michael Behrisch <behrisch@informatik.hu-berlin.de>
Mon, 08 Dec 2003 11:11:32 +0000 alex 1000l
Mon, 08 Dec 2003 09:51:10 +0000 mosu Fixes for a couple of warnings.
Mon, 08 Dec 2003 09:47:15 +0000 mosu Get the total length for Ogg files. Patch by Michael Behrisch <behrisch@informatik.hu-berlin.de>.
Sat, 15 Nov 2003 22:46:47 +0000 mosu Small format fixes.
Sat, 15 Nov 2003 20:00:31 +0000 mosu For FLAC-in-Ogg the packets are NEVER skipped, and there's no such thing as a "packet header byte" like in Ogm streams. Basically the handling for Vorbis != Theora != FLAC != Ogm.
Wed, 15 Oct 2003 16:46:55 +0000 mosu Clear subs a bit later than requested in order to avoid clearing the subs if the following entry starts exactly after this one. Patch by Jarrod Johnson <jbj-mplayer@ura.dnsalias.org>.
Sat, 04 Oct 2003 22:00:25 +0000 lumag FLAC decoding support via imported libmpflac.
Sat, 04 Oct 2003 17:29:08 +0000 gabucino many small typo and grammar fixes
Tue, 02 Sep 2003 16:35:39 +0000 mosu Do not automatically select a subtitle stream for display.
Thu, 28 Aug 2003 17:32:28 +0000 mosu Fix for Theora files without audio. Patch by David Kuehling <dvdkhlng@gmx.de>.
Mon, 18 Aug 2003 13:13:41 +0000 alex Theora-CVS update patch by Martin Drab <drab@kepler.fjfi.cvut.cz>
Thu, 14 Aug 2003 12:15:44 +0000 diego Spelling police:
Wed, 09 Jul 2003 01:30:24 +0000 diego output typo fixes: unknow --> unknown
Wed, 02 Jul 2003 20:43:07 +0000 albeu A little hack to be able to play ogg radio stream
Sun, 11 May 2003 16:39:16 +0000 mosu Preliminary Theora support. Patch by David Kuehling.
Wed, 29 Jan 2003 21:53:56 +0000 arpi 100l... ogg-in-avi (type 0xFFFE) fix
Sun, 05 Jan 2003 13:48:13 +0000 mosu mosu: Fixed OGG/OGM seeking for XCDs in which the OGG/OGM does not start at pos 0 in the stream
Sat, 04 Jan 2003 22:56:56 +0000 mosu mosu: subtitles will be cleared after their life time as given in the packet's header has expired and after seeking
Mon, 30 Dec 2002 08:59:33 +0000 mosu bunkus: Fixed Ogg/Ogm seeking by discarding the first packet after the seek which may be incomplete
Sat, 28 Dec 2002 15:19:41 +0000 arpi This patch adds a call to subcp_recode1(), so this subtitles too are
Thu, 05 Dec 2002 21:04:26 +0000 rguyom Really (!) sync ov_struct_st between demux_ogg.c and ad_libvorbis.c
Thu, 05 Dec 2002 21:01:59 +0000 rguyom Sync ov_struct_st between demux_ogg.c and ad_libvorbis.c
Wed, 04 Dec 2002 20:27:36 +0000 rguyom Add Tremor (an integer-only Vorbis decoder) support.
Wed, 06 Nov 2002 23:54:29 +0000 arpi *HUGE* set of compiler warning fixes, unused variables removal
Fri, 01 Nov 2002 17:46:45 +0000 arpi verbose can be negative
Tue, 22 Oct 2002 15:41:41 +0000 arpi endianess independency (using get int 16/32/64 func instead of typecasting pointer)
Wed, 16 Oct 2002 20:17:20 +0000 arpi memleak fix
Sun, 15 Sep 2002 22:38:30 +0000 arpi removed dummy OGG functions - use #ifdef instead
Sat, 14 Sep 2002 23:21:22 +0000 arpi The granule position of pages contining Vorbis audio is in units of
Wed, 28 Aug 2002 17:07:55 +0000 alex fixes problems when new line is just '\n' and not '\r\n' and enabled html-markup ignore. Patch by Piotr Krukowiecki <piotr@pingu.ii.uj.edu.pl>
Wed, 14 Aug 2002 23:41:19 +0000 arpi ogg (.ogm) text subtitles support
Tue, 30 Jul 2002 18:14:02 +0000 arpi ogm audio format id is in hex, not dec
Thu, 23 May 2002 09:47:18 +0000 albeu 10L bugfix
Sun, 19 May 2002 23:25:40 +0000 arpi a/v stream selection - patch by alexander.werth@gmx.de
Wed, 24 Apr 2002 17:28:23 +0000 albeu Uninit added
Wed, 24 Apr 2002 12:28:03 +0000 albeu Add seeking without index (still not perfect). Use -forceidx for the
Sat, 20 Apr 2002 17:50:11 +0000 albeu Seeking implemented
Sun, 31 Mar 2002 20:27:52 +0000 arpi argh, some samples sue new header chunks - fixed
Sun, 31 Mar 2002 20:17:27 +0000 arpi BITMAPINFOHEADER fixed to be accepted by win32 decoders (divx,divxds)
Sun, 31 Mar 2002 20:09:17 +0000 arpi fixed 10l bug: using ds instead of dp, and adding some debug prints
Sat, 16 Mar 2002 14:32:03 +0000 albeu Initial ogg demuxer. No seeking, a/v sync is broken. Support avi