00001 #ifndef METAIOAVFCOMMENT_H_ 00002 #define METAIOAVFCOMMENT_H_ 00003 00004 #include "metaio.h" 00005 00006 class AVFormatContext; 00007 00008 class MetaIOAVFComment : public MetaIO 00009 { 00010 public: 00011 MetaIOAVFComment(void); 00012 virtual ~MetaIOAVFComment(void); 00013 00014 bool write(Metadata* mdata, bool exclusive = false); 00015 Metadata* read(QString filename); 00016 00017 private: 00018 int getTrackLength(QString filename); 00019 int getTrackLength(AVFormatContext* p_context); 00020 }; 00021 00022 #endif 00023
1.5.5