|
|
Replace VideoDecoder::media_format() with significantly simpler width()/height() methods.
Clients don't really care about the surface type during initialization, hence its removal.
Also removed a few methods from VideoRendererBase that didn't need to be there.
Technically it's possible to do without width()/height() methods entirely, forcing clients to inspect VideoFrame objects for changes in dimensions and react accordingly, but that'll be a change for a different day.
BUG= 28206
TEST=media_unittests, unit_tests, layout_tests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93278
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+64 lines, -164 lines) |
Patch |
 |
M |
content/renderer/media/rtc_video_decoder.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/rtc_video_decoder.cc
|
View
|
|
6 chunks |
+9 lines, -14 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/rtc_video_decoder_unittest.cc
|
View
|
|
3 chunks |
+5 lines, -16 lines |
0 comments
|
Download
|
 |
M |
media/base/filters.h
|
View
|
|
1 chunk |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/base/mock_filters.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/base/video_decoder_config.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_video_decoder.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_video_decoder.cc
|
View
|
|
4 chunks |
+10 lines, -12 lines |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_video_decoder_unittest.cc
|
View
|
|
1 chunk |
+4 lines, -9 lines |
0 comments
|
Download
|
 |
M |
media/filters/video_renderer_base.h
|
View
|
|
4 chunks |
+1 line, -20 lines |
0 comments
|
Download
|
 |
M |
media/filters/video_renderer_base.cc
|
View
|
|
4 chunks |
+2 lines, -36 lines |
0 comments
|
Download
|
 |
M |
media/filters/video_renderer_base_unittest.cc
|
View
|
1
|
3 chunks |
+4 lines, -30 lines |
0 comments
|
Download
|
 |
M |
media/tools/player_wtl/wtl_renderer.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/tools/player_wtl/wtl_renderer.cc
|
View
|
|
2 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/media/video_renderer_impl.cc
|
View
|
|
1 chunk |
+6 lines, -9 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|