[vlc-devel] [PATCH] vlc_es: change es type values
Francois Cartegnie
fcvlcdev at free.fr
Thu Jul 31 12:09:38 CEST 2014
Eases es type comparison to select contiguous data streams.
Demuxers have many (i_cat == VIDEO_ES || i_cat == AUDIO_ES)
---
include/vlc_es.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/vlc_es.h b/include/vlc_es.h
index 5790d23..282d13a 100644
--- a/include/vlc_es.h
+++ b/include/vlc_es.h
@@ -422,10 +422,10 @@ struct es_format_t
enum es_format_category_e
{
UNKNOWN_ES = 0x00,
- VIDEO_ES,
- AUDIO_ES,
- SPU_ES,
- NAV_ES,
+ VIDEO_ES = 0x01,
+ AUDIO_ES = 0x02,
+ SPU_ES = 0x04,
+ NAV_ES = 0x08,
};
#define ES_CATEGORY_COUNT (NAV_ES + 1)
--
1.9.3
More information about the vlc-devel
mailing list