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

Unified Diff: media/base/video_frame_metadata.h

Issue 1752243002: Modifying video_frame.cc to copy all metadata values, instead of only END_OF_STREAM, and updating u… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comments Created 4 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 side-by-side diff with in-line comments
Download patch
Index: media/base/video_frame_metadata.h
diff --git a/media/base/video_frame_metadata.h b/media/base/video_frame_metadata.h
index 12112a43ad0efc8969340ec539acf36698c8aafd..a4ae4e5074f0e7e152fc3931ac31e60696967a66 100644
--- a/media/base/video_frame_metadata.h
+++ b/media/base/video_frame_metadata.h
@@ -131,6 +131,9 @@ class MEDIA_EXPORT VideoFrameMetadata {
void MergeInternalValuesInto(base::DictionaryValue* out) const;
void MergeInternalValuesFrom(const base::DictionaryValue& in);
+ // Merges internal values from |metadata_source|.
+ void MergeMetadataFrom(const VideoFrameMetadata* metadata_source);
+
private:
const base::BinaryValue* GetBinaryValue(Key key) const;

Powered by Google App Engine
This is Rietveld 408576698