[vlc-devel] commit: libvlc_media_es_t: export ES id ( Rafaël Carré )

git version control git at videolan.org
Wed Jan 27 10:42:47 CET 2010


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Wed Jan 27 10:42:29 2010 +0100| [ba57e3d2d742f688b98da5aadac90f874fdfba6c] | committer: Rafaël Carré 

libvlc_media_es_t: export ES id

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ba57e3d2d742f688b98da5aadac90f874fdfba6c
---

 include/vlc/libvlc_media.h |    1 +
 src/control/media.c        |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/vlc/libvlc_media.h b/include/vlc/libvlc_media.h
index 261df7e..18fbb51 100644
--- a/include/vlc/libvlc_media.h
+++ b/include/vlc/libvlc_media.h
@@ -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 */
diff --git a/src/control/media.c b/src/control/media.c
index 54f2f14..55f3e9a 100644
--- a/src/control/media.c
+++ b/src/control/media.c
@@ -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;




More information about the vlc-devel mailing list