org.jcodec.containers.mps
Class MPSDemuxer.Track

java.lang.Object
  extended by org.jcodec.containers.mps.MPSDemuxer.Track
All Implemented Interfaces:
Closeable, Channel, ReadableByteChannel
Enclosing class:
MPSDemuxer

public class MPSDemuxer.Track
extends Object
implements ReadableByteChannel


Constructor Summary
MPSDemuxer.Track(int streamId)
           
 
Method Summary
 void close()
           
 MPEGES getES()
           
 MPSDemuxer.MPEGPacket getFrame(ByteBuffer buf)
           
 List<MPSDemuxer.PESPacket> getPending()
           
 int getSid()
           
 boolean isOpen()
           
 void pending(MPSDemuxer.PESPacket pkt)
           
 int read(ByteBuffer arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MPSDemuxer.Track

public MPSDemuxer.Track(int streamId)
                 throws IOException
Throws:
IOException
Method Detail

isOpen

public boolean isOpen()
Specified by:
isOpen in interface Channel

getSid

public int getSid()

getES

public MPEGES getES()

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Specified by:
close in interface Channel
Throws:
IOException

read

public int read(ByteBuffer arg0)
         throws IOException
Specified by:
read in interface ReadableByteChannel
Throws:
IOException

pending

public void pending(MPSDemuxer.PESPacket pkt)

getPending

public List<MPSDemuxer.PESPacket> getPending()

getFrame

public MPSDemuxer.MPEGPacket getFrame(ByteBuffer buf)
                               throws IOException
Throws:
IOException


Copyright © 2013. All Rights Reserved.