Skip to content

Commit

Permalink
Minor spec fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanreg committed Jul 16, 2024
1 parent 7148bad commit 5dfd241
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion draft-avtransport-spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ interval <code>[-1.0, 1.0]</code>.
Padding may be present in some packets (<dfn noexport>padding</dfn>). Unless otherwise indicated,
the data in padding must be ''0x0''.

Note: this document is machine-parseable. Each symbol of a packet or enum has an assigned ID of
Note: This document is machine-parseable. Each symbol of a packet or enum has an assigned ID of
the form ''descriptor in hex''+''index'', where index is a number starting from 0,
incremented for each element in a structure.

Expand Down Expand Up @@ -1017,6 +1017,9 @@ in the following manner:

: <dfn noexport>STREAM_BINAURAL</dfn> = <i>0x10000</i>
:: Stream contains binaural audio. If set, pre-processing for headphones should be disabled.

: <dfn noexport>STREAM_MULTILAYER</dfn> = <i>0x20000</i>
:: Stream contains multiple layers in the codec bitstream. For example, alternative views.
</div>

Several streams can be <b>chained</b> with the {{STREAM_LOW_QUALITY}} bit set to indicate
Expand Down
2 changes: 1 addition & 1 deletion libavtransport/include/avtransport/avtransport.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ typedef struct AVTContextOptions {
uint16_t producer_ver[3]; /* Major, minor, micro version */

/* Padding to allow for future options. Must always be set to 0. */
uint8_t padding[4096 - 16*1 - 3*2 - 0*4 - 2*8];
uint8_t padding[1024 - 16*1 - 3*2 - 0*4 - 2*8];
} AVTContextOptions;

/* Allocate an AVTransport context with the given context options. */
Expand Down

0 comments on commit 5dfd241

Please sign in to comment.