Skip to content

Commit

Permalink
es_format_t: add i_level
Browse files Browse the repository at this point in the history
It indicates restrictions on the ES (resolution, bitrate, codec
features...), like the H264 level
  • Loading branch information
funman committed Jan 23, 2010
1 parent ecbc3c7 commit 8ddf6aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/vlc_es.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
1 change: 1 addition & 0 deletions src/misc/es_format.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8ddf6aa

Please sign in to comment.