Skip to content

Commit

Permalink
init aperture params
Browse files Browse the repository at this point in the history
ref: uniroma uum bugs gpac#10
  • Loading branch information
aureliendavid committed Sep 16, 2024
1 parent 070c7b2 commit e3c9720
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/filters/isoffin_load.c
Original file line number Diff line number Diff line change
Expand Up @@ -1561,6 +1561,8 @@ static void isor_declare_track(ISOMReader *read, ISOMChannel *ch, u32 track, u32

if (streamtype==GF_STREAM_VISUAL) {
u32 cwn, cwd, chn, chd, cxn, cxd, cyn, cyd;
cwn=cwd=chn=chd=cxn=cxd=cyn=cyd=0;

gf_isom_get_clean_aperture(ch->owner->mov, ch->track, ch->last_sample_desc_index ? ch->last_sample_desc_index : 1, &cwn, &cwd, &chn, &chd, &cxn, &cxd, &cyn, &cyd);

if (cwd && chd && cxd && cyd) {
Expand Down

0 comments on commit e3c9720

Please sign in to comment.