daala
daala copied to clipboard
Please have the packet abstraction provide normal dts/dts.
Having granulepos is confusing and currently not really documented.
+9001 would be nice to have normal pts and dts
Granulepos is actually part of Ogg, not Daala and I'd suggest just removing it from the API for now as I don't think it's used anywhere inside Daala. An explanation is here, but isn't really relevant: https://wiki.xiph.org/index.php/GranulePosAndSeeking
Currently there is no codec-inherent delay either, which means the PTS/DTS distinction isn't meaningful, but it will become meaningful when this lands: https://review.xiph.org/1034/
The patch currently doesn't directly expose the actual latency. Passing in PTS to the encoder with the image and getting DTS out is one way to do so.