Chromium Code Reviews| Index: media/ffmpeg/ffmpeg_common.cc |
| diff --git a/media/ffmpeg/ffmpeg_common.cc b/media/ffmpeg/ffmpeg_common.cc |
| index aaf3afcd5de754f1b2371deb3565ae466d3bd5bb..8b75f4fc13eafcbbdcc4ab80aea264508a9cf404 100644 |
| --- a/media/ffmpeg/ffmpeg_common.cc |
| +++ b/media/ffmpeg/ffmpeg_common.cc |
| @@ -441,7 +441,10 @@ void AudioDecoderConfigToAVCodecContext(const AudioDecoderConfig& config, |
| bool AVStreamToVideoDecoderConfig(const AVStream* stream, |
| VideoDecoderConfig* config) { |
| - gfx::Size coded_size(stream->codec->coded_width, stream->codec->coded_height); |
| + // Anticipating AVStream.codec.coded_{width,height} will be inaccessible in |
|
DaleCurtis
2016/11/15 19:18:22
Mark VideoDecoderConfig coded_{width,height} as de
wolenetz
2016/11/15 20:03:01
Done.
|
| + // ffmpeg soon, just use the width and height, padded below, as hints of the |
| + // coded size. |
| + gfx::Size coded_size(stream->codec->width, stream->codec->height); |
| // TODO(vrk): This assumes decoded frame data starts at (0, 0), which is true |
| // for now, but may not always be true forever. Fix this in the future. |