Add ETC__MORE_INFORMATION__FLAVOR__METADATA_PARSED

This commit is contained in:
Nigel Tao committed 2021-10-14 17:17:11 +11:00
1 parent dbc209dd7e
commit ad1d983698
5 files changed
+263 -4

No files matched your search

+1 -1
View File
@@ -1151,7 +1151,7 @@ pub func decoder.tell_me_more?(dst: base.io_writer, minfo: nptr base.more_inform
}
if args.minfo <> nullptr {
args.minfo.set!(
flavor: 1, // WUFFS_BASE__MORE_INFORMATION__FLAVOR__IO_REDIRECT
flavor: base.MORE_INFORMATION__FLAVOR__IO_REDIRECT,
w: this.io_redirect_fourcc,
x: 0,
y: this.io_redirect_pos,
+3 -3
View File
@@ -205,7 +205,7 @@ pub func decoder.tell_me_more?(dst: base.io_writer, minfo: nptr base.more_inform
if args.src.position() <> this.metadata_io_position {
if args.minfo <> nullptr {
args.minfo.set!(
flavor: 2, // WUFFS_BASE__MORE_INFORMATION__FLAVOR__IO_SEEK
flavor: base.MORE_INFORMATION__FLAVOR__IO_SEEK,
w: 0,
x: this.metadata_io_position,
y: 0,
@@ -250,7 +250,7 @@ pub func decoder.tell_me_more?(dst: base.io_writer, minfo: nptr base.more_inform
if args.minfo <> nullptr {
args.minfo.set!(
flavor: 3, // WUFFS_BASE__MORE_INFORMATION__FLAVOR__METADATA
flavor: base.MORE_INFORMATION__FLAVOR__METADATA_RAW,
w: this.metadata_fourcc,
x: 0,
y: args.src.position(),
@@ -262,7 +262,7 @@ pub func decoder.tell_me_more?(dst: base.io_writer, minfo: nptr base.more_inform
if args.minfo <> nullptr {
args.minfo.set!(
flavor: 3, // WUFFS_BASE__MORE_INFORMATION__FLAVOR__METADATA
flavor: base.MORE_INFORMATION__FLAVOR__METADATA_RAW,
w: this.metadata_fourcc,
x: 0,
y: this.metadata_io_position,