Skip to content

Commit d2924cd

Browse files
authored
Opps. (#27)
1 parent 9fc5d10 commit d2924cd

File tree

1 file changed

+5
-0
lines changed
  • src/moov/trak/mdia/minf/stbl/stsd

1 file changed

+5
-0
lines changed

src/moov/trak/mdia/minf/stbl/stsd/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ pub enum Codec {
3737
// HEVC: SPS/PPS/VPS is in a separate atom
3838
Hvc1(Hvc1),
3939

40+
// VP8
41+
Vp08(Vp08),
42+
4043
// VP9
4144
Vp09(Vp09),
4245

@@ -60,6 +63,7 @@ impl Decode for Codec {
6063
Any::Avc1(atom) => atom.into(),
6164
Any::Hev1(atom) => atom.into(),
6265
Any::Hvc1(atom) => atom.into(),
66+
Any::Vp08(atom) => atom.into(),
6367
Any::Vp09(atom) => atom.into(),
6468
Any::Mp4a(atom) => atom.into(),
6569
Any::Tx3g(atom) => atom.into(),
@@ -77,6 +81,7 @@ impl Encode for Codec {
7781
Self::Avc1(atom) => atom.encode(buf),
7882
Self::Hev1(atom) => atom.encode(buf),
7983
Self::Hvc1(atom) => atom.encode(buf),
84+
Self::Vp08(atom) => atom.encode(buf),
8085
Self::Vp09(atom) => atom.encode(buf),
8186
Self::Mp4a(atom) => atom.encode(buf),
8287
Self::Tx3g(atom) => atom.encode(buf),

0 commit comments

Comments
 (0)