diff options
Diffstat (limited to 'demux/stheader.h')
-rw-r--r-- | demux/stheader.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/demux/stheader.h b/demux/stheader.h index 438ef7db41..6025aa5a0c 100644 --- a/demux/stheader.h +++ b/demux/stheader.h @@ -72,6 +72,18 @@ struct mp_codec_params { // E.g. "h264" (usually corresponds to AVCodecDescriptor.name) const char *codec; + // Usually corresponds to AVCodecDescriptor.long_name + const char *codec_desc; + + // Corresponding codec profile + const char *codec_profile; + + // E.g. "h264" (usually corresponds to AVCodec.name) + const char *decoder; + + // Usually corresponds to AVCodec.long_name + const char *decoder_desc; + // Usually a FourCC, exact meaning depends on codec. unsigned int codec_tag; @@ -109,6 +121,10 @@ struct mp_codec_params { struct pl_color_repr repr; // color representaion info where available struct mp_rect crop; // crop to be applied + bool dovi; + uint8_t dv_profile; + uint8_t dv_level; + // STREAM_VIDEO + STREAM_AUDIO int bits_per_coded_sample; char *format_name; // pixel format (video) or sample format (audio) |