예제 #1
0
        public List <MPEGDemuxerTrack> getVideoTracks()
        {
            List <MPEGDemuxerTrack> result = new List <MPEGDemuxerTrack>();

            foreach (BaseTrack p in streams.Values)
            {
                if (MPSUtils.videoStream(p.streamId))
                {
                    result.Add(p);
                }
            }
            return(result);
        }
예제 #2
0
 public override DemuxerTrackMeta getMeta()
 {
     return(new DemuxerTrackMeta(MPSUtils.videoStream(streamId) ? DemuxerTrackMeta.Type.VIDEO : (MPSUtils.audioStream(streamId) ? DemuxerTrackMeta.Type.AUDIO : DemuxerTrackMeta.Type.OTHER), null,
                                 0, 0, null));
 }