Skip to content

Commit

Permalink
fix: aom plugin user parameters were overwritten with default paramet…
Browse files Browse the repository at this point in the history
…ers (#274)
  • Loading branch information
farindk committed Aug 3, 2020
1 parent 436d1c4 commit 0c49d5b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libheif/heif_encoder_aom.cc
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,10 @@ struct heif_error aom_new_encoder(void** enc)

*enc = encoder;

// set default parameters

aom_set_default_parameters(encoder);

return err;
}

Expand Down Expand Up @@ -585,10 +589,6 @@ struct heif_error aom_encode_image(void* encoder_raw, const struct heif_image* i
// TODO
}

// set default parameters

aom_set_default_parameters(encoder);


unsigned int aomUsage = 0;
#if defined(AOM_USAGE_REALTIME)
Expand Down

0 comments on commit 0c49d5b

Please sign in to comment.