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

Issue 2612403002: Release video frames earlier in MediaRecorder (Closed)

Created:
3 years, 11 months ago by emircan
Modified:
3 years, 11 months ago
Reviewers:
mcasas
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Release video frames earlier in Media Recorder This CL tries to shorten the lifetime of VideoFrames that go to MediaRecorder sink. In order to release frames earlier, the video parameters that WebmMuxer later needs are stored in VideoParameters struct and passed. BUG=678095 TEST=Tested https://rawgit.com/Miguelao/demos/master/mediarecorder.html H264/VPX on Mac. Review-Url: https://codereview.chromium.org/2612403002 Cr-Commit-Position: refs/heads/master@{#441851} Committed: https://chromium.googlesource.com/chromium/src/+/8bddd84ffe3009bd204fc3ed94464af46ed4d872

Patch Set 1 : #

Total comments: 4

Patch Set 2 : mcasas@ nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -40 lines) Patch
M content/renderer/media/media_recorder_handler.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/media_recorder_handler.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/media/video_track_recorder.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/media/video_track_recorder.cc View 1 14 chunks +24 lines, -16 lines 0 comments Download
M content/renderer/media/video_track_recorder_unittest.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M media/muxers/webm_muxer.h View 1 3 chunks +11 lines, -1 line 0 comments Download
M media/muxers/webm_muxer.cc View 1 5 chunks +15 lines, -9 lines 0 comments Download
M media/muxers/webm_muxer_fuzzertest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M media/muxers/webm_muxer_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (15 generated)
emircan
PTAL.
3 years, 11 months ago (2017-01-06 00:33:41 UTC) #6
mcasas
lgtm w/ tiny comments. https://codereview.chromium.org/2612403002/diff/40001/content/renderer/media/video_track_recorder.cc File content/renderer/media/video_track_recorder.cc (right): https://codereview.chromium.org/2612403002/diff/40001/content/renderer/media/video_track_recorder.cc#newcode774 content/renderer/media/video_track_recorder.cc:774: media::WebmMuxer::VideoParameters video_params(frame); const? Also in ...
3 years, 11 months ago (2017-01-06 01:04:55 UTC) #10
emircan
https://codereview.chromium.org/2612403002/diff/40001/content/renderer/media/video_track_recorder.cc File content/renderer/media/video_track_recorder.cc (right): https://codereview.chromium.org/2612403002/diff/40001/content/renderer/media/video_track_recorder.cc#newcode774 content/renderer/media/video_track_recorder.cc:774: media::WebmMuxer::VideoParameters video_params(frame); On 2017/01/06 01:04:55, mcasas wrote: > const? ...
3 years, 11 months ago (2017-01-06 01:19:13 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2612403002/60001
3 years, 11 months ago (2017-01-06 01:31:29 UTC) #17
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 02:51:27 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/8bddd84ffe3009bd204fc3ed9446...

Powered by Google App Engine
This is Rietveld 408576698