| Index: media/base/audio_video_metadata_extractor.h
|
| diff --git a/media/base/audio_video_metadata_extractor.h b/media/base/audio_video_metadata_extractor.h
|
| index 7590515e7475547c866617bb4980754801f29beb..201e3714446384db28aa6ea15e07d1f869670fe3 100644
|
| --- a/media/base/audio_video_metadata_extractor.h
|
| +++ b/media/base/audio_video_metadata_extractor.h
|
| @@ -38,7 +38,7 @@ class MEDIA_EXPORT AudioVideoMetadataExtractor {
|
|
|
| // Returns whether or not the fields were successfully extracted. Should only
|
| // be called once.
|
| - bool Extract(DataSource* source);
|
| + bool Extract(DataSource* source, bool extract_attached_pics);
|
|
|
| // Returns -1 if we cannot extract the duration. In seconds.
|
| double duration() const;
|
| @@ -67,6 +67,10 @@ class MEDIA_EXPORT AudioVideoMetadataExtractor {
|
| // First element is the container. Subsequent elements are the child streams.
|
| const StreamInfoVector& stream_infos() const;
|
|
|
| + // Empty if Extract call did not request attached pictures, or if no attached
|
| + // pictures were found.
|
| + const std::vector<std::string>& attached_pictures_bytes() const;
|
| +
|
| private:
|
| void ExtractDictionary(AVDictionary* metadata, TagDictionary* raw_tags);
|
|
|
| @@ -92,6 +96,8 @@ class MEDIA_EXPORT AudioVideoMetadataExtractor {
|
|
|
| StreamInfoVector stream_infos_;
|
|
|
| + std::vector<std::string> attached_pictures_bytes_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(AudioVideoMetadataExtractor);
|
| };
|
|
|
|
|