Displaying 1 result from an estimated 1 matches for "oggz_set_granulerate".
Did you mean:
oggz_get_granulerate
2008 Nov 04
1
[PATCH] liboggz: Update Dirac granulepos definition
...nule_shift;
-
#ifdef DEBUG
- printf ("Got dirac fps %d/%d, keyframe_shift %d\n",
- fps_numerator, fps_denominator, keyframe_shift);
+ printf ("Got dirac fps %d/%d, granule_shift %d\n",
+ info->fps_numerator, info->fps_denominator, granule_shift);
#endif
- oggz_set_granulerate (oggz, serialno, (ogg_int64_t)info->fps_numerator,
+ /* the granulerate is twice the frame rate (in order to handle interlace)
+ * it is also multiplied by (1<<9) since the decode time is stored in
+ * the top 32bits of granulepos, but the granule_shift is 22. */
+ oggz_set_granulera...