[MPlayer-cvslog] r21021 - trunk/libmpdemux/demuxer.h

nicodvb subversion at mplayerhq.hu
Sat Nov 18 15:31:31 CET 2006


Author: nicodvb
Date: Sat Nov 18 15:31:31 2006
New Revision: 21021

Modified:
   trunk/libmpdemux/demuxer.h

Log:
new DEMUXER_CTRL_IDENTIFY_PROGRAM to identify programs (a+v+s)

Modified: trunk/libmpdemux/demuxer.h
==============================================================================
--- trunk/libmpdemux/demuxer.h	(original)
+++ trunk/libmpdemux/demuxer.h	Sat Nov 18 15:31:31 2006
@@ -79,6 +79,7 @@
 #define DEMUXER_CTRL_SWITCH_AUDIO 12
 #define DEMUXER_CTRL_RESYNC 13
 #define DEMUXER_CTRL_SWITCH_VIDEO 14
+#define DEMUXER_CTRL_IDENTIFY_PROGRAM 15
 
 // Holds one packet/frame/whatever
 typedef struct demux_packet_st {
@@ -197,6 +198,11 @@
   char** info;
 } demuxer_t;
 
+typedef struct {
+  int progid;        //program id
+  int aid, vid, sid; //audio, video and subtitle id
+} demux_program_t;
+
 inline static demux_packet_t* new_demux_packet(int len){
   demux_packet_t* dp=(demux_packet_t*)malloc(sizeof(demux_packet_t));
   dp->len=len;



More information about the MPlayer-cvslog mailing list