[theora-dev] Cortado patch to optionally zero basetime

Benjamin M. Schwartz bmschwar at fas.harvard.edu
Wed Jul 7 20:13:55 PDT 2010


This patch adds an applet option to Cortado.  The option is off by
default, meaning that the default behavior of Cortado should not change at
all.  If the option is activated, Cortado will display all times relative
to the ogg file's basetime (i.e. first granule).

This patch was written in response to a request from Señor Ellery, who
noted that files ripped from the middle of a stream do not start from time
zero when played in Cortado.

I believe that this functionality is best left as an option because some
users, for example in live streams, may prefer the existing functionality,
where the displayed time is the time since the start of recording, rather
than the start of the current player's playback.

The patch is slightly tested, and appears to work.

--Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-a-new-option-ignoreBasetime-so-that-users-can-fo.patch
Type: text/x-patch
Size: 5067 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/theora-dev/attachments/20100707/146d298f/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://lists.xiph.org/pipermail/theora-dev/attachments/20100707/146d298f/attachment.pgp 


More information about the theora-dev mailing list