1
mirror of https://code.videolan.org/videolan/vlc synced 2024-08-27 04:21:53 +02:00

libvlc_media_es_t: export ES id

This commit is contained in:
Rafaël Carré 2010-01-27 10:42:29 +01:00
parent f4f6ef9363
commit ba57e3d2d7
2 changed files with 2 additions and 0 deletions

View File

@ -151,6 +151,7 @@ typedef struct libvlc_media_es_t
{
/* Codec fourcc */
uint32_t i_codec;
int i_id;
libvlc_es_type_t i_type;
/* Codec specific */

View File

@ -673,6 +673,7 @@ libvlc_media_get_es( libvlc_media_t *p_md, libvlc_media_es_t ** pp_es )
p_mes->i_codec = p_es->i_codec;
p_mes->i_id = p_es->i_id;
p_mes->i_profile = p_es->i_profile;
p_mes->i_level = p_es->i_level;