OOOggPacketDumper.cpp

Go to the documentation of this file.
00001 #include "stdafx.h"
00002 #include ".\oooggpacketdumper.h"
00003 
00004 OOOggPacketDumper::OOOggPacketDumper(void)
00005 {
00006 }
00007 
00008 OOOggPacketDumper::~OOOggPacketDumper(void)
00009 {
00010 }
00011 bool OOOggPacketDumper::acceptStampedOggPacket(StampedOggPacket* inPacket) {
00012 
00013         cout << "------ Packet : Gran Pos =  "<<inPacket->startTime()<<" - "<<inPacket->endTime()<<", Size = "<< inPacket->packetSize() << " bytes -------";
00014         
00015         if (inPacket->isContinuation()) {
00016                 cout<<"  ** CONT **";                   
00017         }
00018         if (inPacket->isTruncated()) {
00019                 cout<<" ** TRUNC **";           
00020         }
00021         cout<<endl;
00022         cout << inPacket->toPackDumpString();
00023         return true;
00024 }

Generated on Tue Feb 15 14:54:23 2005 for oggdsf by  doxygen 1.3.9