1 #ifndef MP4V2_UTIL_OTHER_H
2 #define MP4V2_UTIL_OTHER_H
4 ///////////////////////////////////////////////////////////////////////////////
6 namespace mp4v2 { namespace util {
8 ///////////////////////////////////////////////////////////////////////////////
10 struct MP4V2_EXPORT FileSummaryInfo {
11 typedef set<string> BrandSet;
13 // standard ftyp box attributes
15 uint32_t minor_version;
16 BrandSet compatible_brands;
23 ///////////////////////////////////////////////////////////////////////////////
25 /// Fetch mp4 file summary information.
27 /// This function fetches summary information for <b>file</b> and information
28 /// is stored in <b>info</b>.
30 /// @return On success <b>true</b>.
31 /// On failure <b>false</b>, and contents of <b>info</b> are undefined.
34 bool fileFetchSummaryInfo( MP4FileHandle file, FileSummaryInfo& info );
36 ///////////////////////////////////////////////////////////////////////////////
38 }} // namespace mp4v2::util
40 #endif // MP4V2_UTIL_OTHER_H