Skip to content

Commit

Permalink
Add a comment to explain why we don't write lsel (AOMediaCodec#2430)
Browse files Browse the repository at this point in the history
  • Loading branch information
maryla-uc authored Sep 13, 2024
1 parent dfffad3 commit 8aab77e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/write.c
Original file line number Diff line number Diff line change
Expand Up @@ -2921,6 +2921,9 @@ static avifResult avifRWStreamWriteProperties(avifItemPropertyDedup * const dedu
}
avifRWStreamFinishBox(&dedup->s, a1lx);
AVIF_CHECKRES(avifItemPropertyDedupFinish(dedup, s, &item->ipma, AVIF_FALSE));

// We don't add an 'lsel' property since many decoders do not support it and will reject the image,
// see https://github.com/AOMediaCodec/libavif/pull/2429
}
}
return AVIF_RESULT_OK;
Expand Down

0 comments on commit 8aab77e

Please sign in to comment.