Skip to content

Commit

Permalink
[droidmedia] Add MIME type for AV1. JB#58720
Browse files Browse the repository at this point in the history
  • Loading branch information
mlehtima committed Sep 5, 2022
1 parent 0ed4c1f commit ef7207f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions droidmediacodec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ struct DroidMediaCodecMetaDataKey {
int key;
int type;
} metaDataKeys[] = {
#if ANDROID_MAJOR >= 10
{android::MEDIA_MIMETYPE_VIDEO_AV1, android::kKeyAV1C, android::kKeyAV1C},
#endif
#if ANDROID_MAJOR >= 5
{android::MEDIA_MIMETYPE_VIDEO_HEVC, android::kKeyHVCC, android::kKeyHVCC},
#endif
Expand Down

0 comments on commit ef7207f

Please sign in to comment.