org.jcodec.movtool.streaming.tracks
Class VirtualPacketWrapper
java.lang.Object
org.jcodec.movtool.streaming.tracks.VirtualPacketWrapper
- All Implemented Interfaces:
- VirtualPacket
- Direct Known Subclasses:
- CachingTrack.CachingPacket, EditedFramesTrack.EditedFramesPacket
public class VirtualPacketWrapper
- extends Object
- implements VirtualPacket
This class is part of JCodec ( www.jcodec.org ) This software is distributed
under FreeBSD License
Wraps virtual packet for easy proxy creation
- Author:
- The JCodec project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
src
protected VirtualPacket src
VirtualPacketWrapper
public VirtualPacketWrapper(VirtualPacket src)
getData
public ByteBuffer getData()
throws IOException
- Specified by:
getData in interface VirtualPacket
- Throws:
IOException
getDataLen
public int getDataLen()
throws IOException
- Specified by:
getDataLen in interface VirtualPacket
- Throws:
IOException
getPts
public double getPts()
- Specified by:
getPts in interface VirtualPacket
getDuration
public double getDuration()
- Specified by:
getDuration in interface VirtualPacket
isKeyframe
public boolean isKeyframe()
- Specified by:
isKeyframe in interface VirtualPacket
getFrameNo
public int getFrameNo()
- Specified by:
getFrameNo in interface VirtualPacket
Copyright © 2013. All Rights Reserved.