diff options
author | Brad Hards <bradh@frogmouth.net> | 2020-05-27 20:01:59 +1000 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2020-05-31 18:31:54 +0200 |
commit | bbc0eb7fcb6dbf305b78e83b08c5930ce8b29ff6 (patch) | |
tree | 904e6a197e893aca01c35fa56318a5aa8edc327a | |
parent | a8867850185a14e580dfeed2b39e8aae5e306e7c (diff) | |
download | ffmpeg-bbc0eb7fcb6dbf305b78e83b08c5930ce8b29ff6.tar.gz |
avcodec: add constants for KLV pseudo-profile.
There are two different ways KLV is used in MISB specs - sync and async.
The corresponding text (in ST1401) says:
ISO/IEC 13818-1 Table-34 defines a stream_type = 0x15 for “Metadata carried in PES packets,”
and Table 2-22 defines a stream_id = 0xFC for “metadata stream.”
and
In ISO/IEC 13818-1, Table-34 defines a stream_type = 0x06 for “PES packets containing private
data,” and Table 2-22 defines a stream_id = 0xBD for “private_stream_1.”
These constants allow us to distinguish the two cases, as codec profiles.
Signed-off-by: Marton Balint <cus@passwd.hu>
-rw-r--r-- | libavcodec/avcodec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 01099bc8cd..c91b2fd169 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1971,6 +1971,9 @@ typedef struct AVCodecContext { #define FF_PROFILE_ARIB_PROFILE_A 0 #define FF_PROFILE_ARIB_PROFILE_C 1 +#define FF_PROFILE_KLVA_SYNC 0 +#define FF_PROFILE_KLVA_ASYNC 1 + /** * level * - encoding: Set by user. |