[theora-dev] My issues with ogg and directshow...
illiminable
ogg at illiminable.com
Mon May 10 20:29:06 PDT 2004
I seem to remember initially trying to ignore it, but it didn't work... i
can find a few places where it is being used for something... whether it's
crucial or not... i've got no idea.
if(op->granulepos>-1)
th->granulepos=op->granulepos;
else{
if(th->granulepos==-1){
th->granulepos=0;
}else{
if(pbi->FrameType==BASE_FRAME){
long frames= th->granulepos & ((1<<pbi->keyframe_granule_shift)-1);
th->granulepos>>=pbi->keyframe_granule_shift;
th->granulepos+=frames+1;
th->granulepos<<=pbi->keyframe_granule_shift;
}else
th->granulepos++;
}
}
<p>Though it is entirely possible it just didn't work because i still had other
bugs, that have since been fixed. But it does seem to be used for something.
Zen.
----- Original Message -----
From: "Timothy B. Terriberry" <tterribe at vt.edu>
To: <theora-dev at xiph.org>
Sent: Tuesday, May 11, 2004 11:05 AM
Subject: Re: [theora-dev] My issues with ogg and directshow...
<p>> > Vorbis certainly doesn't ignore the granulepos field - it requires it
for
> > correct operation, so I really hope you aren't throwing it away.
>
> And Theora does ignore it. I know player_example uses it to get the
> presentation time for the decoded frames, but other than that it
> shouldn't be used by the decoding process (since VP3 originally had no
> such thing).
> --- >8 ----
> List archives: http://www.xiph.org/archives/
> Ogg project homepage: http://www.xiph.org/ogg/
> To unsubscribe from this list, send a message to
'theora-dev-request at xiph.org'
> containing only the word 'unsubscribe' in the body. No subject is needed.
> Unsubscribe messages sent to the list will be ignored/filtered.
>
>
>
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'theora-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Theora-dev
mailing list