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

Issue 1752243002: Modifying video_frame.cc to copy all metadata values, instead of only END_OF_STREAM, and updating u… (Closed)

Created:
4 years, 9 months ago by tguilbert
Modified:
4 years, 9 months ago
Reviewers:
watk, DaleCurtis
CC:
chromium-reviews, emircan, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Modifying VideoFrame to copy all metadata values to wrapped frame in WrapVideoFrame. VideoFrame only copied the VideoFrameMetadata::END_OF_STREAM value when creating a wrapping frame. This change adds a MergeMetadataFrom utility function to VideoFrameMetadata and uses it to copy all the values from the original frame's metadata into the wrapped frame. R=watk@chromium.org BUG=591138 TEST=updated unit tests Committed: https://crrev.com/24ff05db02b42e939d2f10fdbaae75a83db60120 Cr-Commit-Position: refs/heads/master@{#379166}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Addressing Comments #

Patch Set 3 : Addressing comments #

Total comments: 4

Patch Set 4 : Addressing last comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -9 lines) Patch
M media/base/video_frame.cc View 1 1 chunk +3 lines, -4 lines 0 comments Download
M media/base/video_frame_metadata.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M media/base/video_frame_metadata.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M media/base/video_frame_unittest.cc View 1 3 chunks +23 lines, -5 lines 0 comments Download

Messages

Total messages: 23 (11 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1752243002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1752243002/1
4 years, 9 months ago (2016-03-02 02:25:27 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-02 03:42:17 UTC) #4
tguilbert
4 years, 9 months ago (2016-03-02 19:15:36 UTC) #6
watk
Nice. One thing that's not obvious is that the CL description gets turned into the ...
4 years, 9 months ago (2016-03-02 21:25:16 UTC) #7
tguilbert
https://codereview.chromium.org/1752243002/diff/1/media/base/video_frame.cc File media/base/video_frame.cc (right): https://codereview.chromium.org/1752243002/diff/1/media/base/video_frame.cc#newcode520 media/base/video_frame.cc:520: // Copy all metada to the wrapped frame On ...
4 years, 9 months ago (2016-03-03 21:42:04 UTC) #13
DaleCurtis
defer to watk@ for review! https://codereview.chromium.org/1752243002/diff/40001/media/base/video_frame_metadata.cc File media/base/video_frame_metadata.cc (right): https://codereview.chromium.org/1752243002/diff/40001/media/base/video_frame_metadata.cc#newcode148 media/base/video_frame_metadata.cc:148: void VideoFrameMetadata::MergeMetadataFrom( After this ...
4 years, 9 months ago (2016-03-03 21:44:51 UTC) #14
watk
https://codereview.chromium.org/1752243002/diff/1/media/base/video_frame.cc File media/base/video_frame.cc (right): https://codereview.chromium.org/1752243002/diff/1/media/base/video_frame.cc#newcode523 media/base/video_frame.cc:523: wrapping_frame->metadata()->MergeInternalValuesFrom(temp_metadata_values); On 2016/03/03 21:42:04, ThomasGuilbert wrote: > On 2016/03/02 ...
4 years, 9 months ago (2016-03-03 22:54:33 UTC) #15
tguilbert
https://codereview.chromium.org/1752243002/diff/40001/media/base/video_frame_metadata.cc File media/base/video_frame_metadata.cc (right): https://codereview.chromium.org/1752243002/diff/40001/media/base/video_frame_metadata.cc#newcode148 media/base/video_frame_metadata.cc:148: void VideoFrameMetadata::MergeMetadataFrom( On 2016/03/03 21:44:51, DaleCurtis wrote: > After ...
4 years, 9 months ago (2016-03-03 23:40:29 UTC) #16
watk
lgtm
4 years, 9 months ago (2016-03-03 23:44:59 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1752243002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1752243002/60001
4 years, 9 months ago (2016-03-04 00:17:57 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-04 01:33:38 UTC) #21
commit-bot: I haz the power
4 years, 9 months ago (2016-03-04 01:35:09 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/24ff05db02b42e939d2f10fdbaae75a83db60120
Cr-Commit-Position: refs/heads/master@{#379166}

Powered by Google App Engine
This is Rietveld 408576698