Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Side by Side Diff: media/base/audio_video_metadata_extractor.h

Issue 148113012: Media: AudioVideoMetadataParser - Parse rotation metadata. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_BASE_AUDIO_VIDEO_METADATA_EXTRACTOR_H_ 5 #ifndef MEDIA_BASE_AUDIO_VIDEO_METADATA_EXTRACTOR_H_
6 #define MEDIA_BASE_AUDIO_VIDEO_METADATA_EXTRACTOR_H_ 6 #define MEDIA_BASE_AUDIO_VIDEO_METADATA_EXTRACTOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 27 matching lines...) Expand all
38 const std::string& album() const; 38 const std::string& album() const;
39 const std::string& artist() const; 39 const std::string& artist() const;
40 const std::string& comment() const; 40 const std::string& comment() const;
41 const std::string& copyright() const; 41 const std::string& copyright() const;
42 const std::string& date() const; 42 const std::string& date() const;
43 int disc() const; 43 int disc() const;
44 const std::string& encoder() const; 44 const std::string& encoder() const;
45 const std::string& encoded_by() const; 45 const std::string& encoded_by() const;
46 const std::string& genre() const; 46 const std::string& genre() const;
47 const std::string& language() const; 47 const std::string& language() const;
48 int rotation() const;
Lei Zhang 2014/02/14 02:35:51 move this after track? rotation doesn't seem relat
tommycli 2014/02/14 17:06:48 Done. Moved to after 'height' to be consistent wit
48 const std::string& title() const; 49 const std::string& title() const;
49 int track() const; 50 int track() const;
50 51
51 private: 52 private:
52 void ExtractDictionary(AVDictionary* metadata); 53 void ExtractDictionary(AVDictionary* metadata);
53 54
54 bool extracted_; 55 bool extracted_;
55 56
56 int duration_; 57 int duration_;
57 int width_; 58 int width_;
58 int height_; 59 int height_;
59 60
60 std::string album_; 61 std::string album_;
61 std::string artist_; 62 std::string artist_;
62 std::string comment_; 63 std::string comment_;
63 std::string copyright_; 64 std::string copyright_;
64 std::string date_; 65 std::string date_;
65 int disc_; 66 int disc_;
66 std::string encoder_; 67 std::string encoder_;
67 std::string encoded_by_; 68 std::string encoded_by_;
68 std::string genre_; 69 std::string genre_;
69 std::string language_; 70 std::string language_;
71 int rotation_;
70 std::string title_; 72 std::string title_;
71 int track_; 73 int track_;
72 74
73 DISALLOW_COPY_AND_ASSIGN(AudioVideoMetadataExtractor); 75 DISALLOW_COPY_AND_ASSIGN(AudioVideoMetadataExtractor);
74 }; 76 };
75 77
76 } // namespace media 78 } // namespace media
77 79
78 #endif // MEDIA_BASE_AUDIO_VIDEO_METADATA_EXTRACTOR_H_ 80 #endif // MEDIA_BASE_AUDIO_VIDEO_METADATA_EXTRACTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698