[Tremor] Need help skipping comment header
Andy Grundman
andy at slimdevices.com
Fri Oct 24 09:30:43 PDT 2008
On Sep 3, 2008, at 8:25 PM, Andy Grundman wrote:
>
>>> I'm hoping someone more familiar with the API knows of a relatively
>>> easy way this can be done.
>>
>> There's not a way in the current API, which is not to say it isn't
>> technically feasable or probably all that tricky. I'm not sure how
>> I'd express it cleanly through the API, but an under the covers hack
>> that simply skips buffering the second packet at the stream level
>> wouldn't be that hard.
>
> Can you point me in the right direction? By 'stream level' you mean
> the Ogg stream right? The Ogg code buffers up all the pages until
> ogg_stream_packetout returns 1 indicating a full packet is
> available. So from what I can tell I'd have to somehow skip pages 2-
> N, and then go back and read page N to get the codebooks.
Hi Monty,
Would you be able to assist in finding a way to hack around the
comment header? I've tried a few times and wasn't able to figure it
out.
Thanks,
-Andy
More information about the Tremor
mailing list