Benjamin M. Schwartz
2010-Jul-08 03:13 UTC
[theora-dev] Cortado patch to optionally zero basetime
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
Carlos Eduardo Matos Ellery
2010-Jul-08 18:51 UTC
[theora-dev] Cortado patch to optionally zero basetime
Hi Benjamin, thank you very much for this patch. It worked like a charm. Now the sessions of a full day event can be saved and available later for on demand listeners and the cortado's clock will not show meaningless numbers, but the time relative to the session that is being watched. Thanks again. BTW, we Brazilians should be called "senhor". :-) Carlos Eduardo Matos Ellery On Thu, Jul 8, 2010 at 12:13 AM, Benjamin M. Schwartz <bmschwar at fas.harvard.edu> wrote:> 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 >