]> git.sesse.net Git - ffmpeg/commit
avcodec: add constants for KLV pseudo-profile.
authorBrad Hards <bradh@frogmouth.net>
Wed, 27 May 2020 10:01:59 +0000 (20:01 +1000)
committerMarton Balint <cus@passwd.hu>
Sun, 31 May 2020 16:31:54 +0000 (18:31 +0200)
commitbbc0eb7fcb6dbf305b78e83b08c5930ce8b29ff6
tree904e6a197e893aca01c35fa56318a5aa8edc327a
parenta8867850185a14e580dfeed2b39e8aae5e306e7c
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>
libavcodec/avcodec.h