search for: oggz_set_granuleshift

Displaying 1 result from an estimated 1 matches for "oggz_set_granuleshift".

Did you mean: oggz_get_granuleshift
2008 Nov 04
1
[PATCH] liboggz: Update Dirac granulepos definition
...ed by (1<<9) since the decode time is stored in + * the top 32bits of granulepos, but the granule_shift is 22. */ + oggz_set_granulerate (oggz, serialno, 2*(1<<9)*(ogg_int64_t)info->fps_numerator, OGGZ_AUTO_MULT * (ogg_int64_t)info->fps_denominator); - oggz_set_granuleshift (oggz, serialno, keyframe_shift); + oggz_set_granuleshift (oggz, serialno, granule_shift); - oggz_stream_set_numheaders (oggz, serialno, 3); + oggz_stream_set_numheaders (oggz, serialno, 0); free(info); return 1;