Displaying 1 result from an estimated 1 matches for "oggz_content_dirac".
2008 Nov 04
1
[PATCH] liboggz: Update Dirac granulepos definition
...oggz_tools.c (working copy)
@@ -454,7 +454,15 @@
iframe = granulepos >> granuleshift;
pframe = granulepos - (iframe << granuleshift);
- ret = fprintf (stream, "%" PRId64 "|%" PRId64, iframe, pframe);
+ if (oggz_stream_get_content (oggz, serialno) != OGGZ_CONTENT_DIRAC) {
+ ret = fprintf (stream, "%" PRId64 "|%" PRId64, iframe, pframe);
+ } else {
+ uint32_t pt = (iframe + pframe) >> 9;
+ uint16_t dist = ((iframe & 0xff) << 8) | (pframe & 0xff);
+ uint16_t delay = pframe >> 9;
+ int64_t dt...