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

Issue 57403003: Remove EMPTY from VideoFrame::Format. (Closed)

Created:
7 years, 1 month ago by rileya (GONE FROM CHROMIUM)
Modified:
7 years, 1 month ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@vframe_rgb
Visibility:
Public.

Description

Remove EMPTY from VideoFrame::Format. It was being used to indicate end-of-stream, which was sort of an abuse of the format enum. Instead, we now have a CreateEOSFrame(), rather than CreateEmptyFrame(), and an |end_of_stream_| member. BUG=313827 TBR=danakj Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233776

Patch Set 1 #

Patch Set 2 : Fix comment #

Total comments: 5

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -64 lines) Patch
M cc/resources/video_resource_updater.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M media/base/video_frame.h View 1 2 3 5 chunks +7 lines, -6 lines 0 comments Download
M media/base/video_frame.cc View 1 2 3 11 chunks +21 lines, -20 lines 0 comments Download
M media/base/video_frame_unittest.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M media/filters/decrypting_video_decoder.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M media/filters/decrypting_video_decoder_unittest.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M media/filters/fake_video_decoder.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/fake_video_decoder_unittest.cc View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M media/filters/ffmpeg_video_decoder.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/filters/ffmpeg_video_decoder_unittest.cc View 1 2 7 chunks +8 lines, -8 lines 0 comments Download
M media/filters/gpu_video_decoder.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M media/filters/video_frame_stream.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M media/filters/video_frame_stream_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M media/filters/video_renderer_base.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M media/filters/video_renderer_base_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/vpx_video_decoder.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
rileya (GONE FROM CHROMIUM)
https://codereview.chromium.org/57403003/diff/30001/media/base/video_frame.cc File media/base/video_frame.cc (right): https://codereview.chromium.org/57403003/diff/30001/media/base/video_frame.cc#newcode441 media/base/video_frame.cc:441: bool VideoFrame::IsEndOfStream() const { Should this be renamed end_of_stream()? ...
7 years, 1 month ago (2013-11-04 21:42:59 UTC) #1
scherkus (not reviewing)
another thing we should consider is to DCHECK(!end_of_stream()) most of the public API similar to ...
7 years, 1 month ago (2013-11-04 23:40:28 UTC) #2
scherkus (not reviewing)
On 2013/11/04 23:40:28, scherkus wrote: > another thing we should consider is to DCHECK(!end_of_stream()) most ...
7 years, 1 month ago (2013-11-04 23:42:38 UTC) #3
rileya (GONE FROM CHROMIUM)
https://codereview.chromium.org/57403003/diff/30001/media/base/video_frame.cc File media/base/video_frame.cc (right): https://codereview.chromium.org/57403003/diff/30001/media/base/video_frame.cc#newcode349 media/base/video_frame.cc:349: end_of_stream_(format == UNKNOWN && timestamp == kNoTimestamp() && On ...
7 years, 1 month ago (2013-11-05 00:20:35 UTC) #4
scherkus (not reviewing)
https://codereview.chromium.org/57403003/diff/90001/media/base/video_frame.h File media/base/video_frame.h (right): https://codereview.chromium.org/57403003/diff/90001/media/base/video_frame.h#newcode247 media/base/video_frame.h:247: bool eos_frame); nit: end_of_stream (good practice to have ctor ...
7 years, 1 month ago (2013-11-05 00:24:42 UTC) #5
rileya (GONE FROM CHROMIUM)
https://codereview.chromium.org/57403003/diff/90001/media/base/video_frame.h File media/base/video_frame.h (right): https://codereview.chromium.org/57403003/diff/90001/media/base/video_frame.h#newcode247 media/base/video_frame.h:247: bool eos_frame); On 2013/11/05 00:24:43, scherkus wrote: > nit: ...
7 years, 1 month ago (2013-11-05 00:37:27 UTC) #6
scherkus (not reviewing)
lgtm
7 years, 1 month ago (2013-11-05 01:21:04 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rileya@chromium.org/57403003/160001
7 years, 1 month ago (2013-11-05 01:36:49 UTC) #8
commit-bot: I haz the power
Failed to apply patch for cc/resources/video_resource_updater.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 1 month ago (2013-11-05 01:36:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rileya@chromium.org/57403003/160001
7 years, 1 month ago (2013-11-05 19:24:20 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=219931
7 years, 1 month ago (2013-11-05 21:46:47 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rileya@chromium.org/57403003/160001
7 years, 1 month ago (2013-11-05 22:16:04 UTC) #12
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=98179
7 years, 1 month ago (2013-11-05 23:31:02 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rileya@chromium.org/57403003/160001
7 years, 1 month ago (2013-11-07 22:29:37 UTC) #14
commit-bot: I haz the power
7 years, 1 month ago (2013-11-08 05:32:43 UTC) #15
Message was sent while issue was closed.
Change committed as 233776

Powered by Google App Engine
This is Rietveld 408576698