Re: Theora packets with granulepos of -1

salsaman <[email protected]>
Newsgroups gmane.comp.multimedia.ogg.theora.devel
Message-ID <[email protected]>
On Tue, Feb 24, 2009 at 9:41 AM, Timothy B. Terriberry
<[email protected]> wrote:
> salsaman wrote:
>> Yes, it is specified, but I discovered there was a bug in some earlier
>> versions of the encoder which resulted in the wrong value being used.
>> If you try to decode one of these files, it will not work without the
>> above check.
>
> The subminor version field is used to indicate whether the stream starts
> from 0 or 1. Are you saying there's a version of the encoder which
> outputs a subminor version of 1 but starts the stream from granpos 0, or
> vice versa?
>
> Also, keep in mind that files captured from the middle of a live stream
> will often start from a granpos other than 0 or 1, in which case your
> manual check of the first page will fail to reveal which is actually
> being used.

I check the first positive granulepos, not the first page. So it will
always come out with the correct value.


Gabriel.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.