00001 #ifndef METAIOAVFCOMMENT_H_ 00002 #define METAIOAVFCOMMENT_H_ 00003 00004 // Mythmusic 00005 #include "metaio.h" 00006 00007 class AVFormatContext; 00008 00019 class MetaIOAVFComment : public MetaIO 00020 { 00021 public: 00022 MetaIOAVFComment(void); 00023 virtual ~MetaIOAVFComment(void); 00024 00025 bool write(const Metadata* mdata); 00026 Metadata* read(const QString &filename); 00027 00028 private: 00029 int getTrackLength(const QString &filename); 00030 int getTrackLength(AVFormatContext* p_context); 00031 }; 00032 00033 #endif 00034