Commit 8ddf6aa4 authored by Rafaël Carré's avatar Rafaël Carré

es_format_t: add i_level

It indicates restrictions on the ES (resolution, bitrate, codec
features...), like the H264 level
parent ecbc3c78
......@@ -256,6 +256,7 @@ struct es_format_t
unsigned int i_bitrate; /**< bitrate of this ES */
int i_profile; /**< codec specific information (like real audio flavor, mpeg audio layer, h264 profile ...) */
int i_level; /**< codec specific information: indicates maximum restrictions on the stream (resolution, bitrate, codec features ...) */
bool b_packetized; /**< wether the data is packetized (ie. not truncated) */
int i_extra; /**< length in bytes of extra data pointer */
......
......@@ -242,6 +242,7 @@ void es_format_Init( es_format_t *fmt,
fmt->i_codec = i_codec;
fmt->i_original_fourcc = 0;
fmt->i_profile = -1;
fmt->i_level = -1;
fmt->i_id = -1;
fmt->i_group = 0;
fmt->i_priority = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment