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

Unified Diff: media/base/video_decoder.h

Issue 10824141: Remove VideoDecoder::natural_size() & added VideoFrame::natural_size(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix copyright year. Created 8 years, 5 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
« no previous file with comments | « content/renderer/media/rtc_video_decoder_unittest.cc ('k') | media/base/video_decoder_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_decoder.h
diff --git a/media/base/video_decoder.h b/media/base/video_decoder.h
index c55003325a4649e0cd5da4accee873462f78aafe..c8c19b7329395dd6c58b70d759d9277cb22a5cbb 100644
--- a/media/base/video_decoder.h
+++ b/media/base/video_decoder.h
@@ -60,15 +60,6 @@ class MEDIA_EXPORT VideoDecoder
// should/could not be re-initialized after it has been stopped.
virtual void Stop(const base::Closure& closure) = 0;
- // Returns the natural width and height of decoded video in pixels.
- //
- // Clients should NOT rely on these values to remain constant. Instead, use
- // the width/height from decoded video frames themselves.
- //
- // TODO(scherkus): why not rely on prerolling and decoding a single frame to
- // get dimensions?
- virtual const gfx::Size& natural_size() = 0;
-
// Returns true if the output format has an alpha channel. Most formats do not
// have alpha so the default is false. Override and return true for decoders
// that return formats with an alpha channel.
« no previous file with comments | « content/renderer/media/rtc_video_decoder_unittest.cc ('k') | media/base/video_decoder_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698