summaryrefslogtreecommitdiffstats
path: root/media/tools
diff options
context:
space:
mode:
Diffstat (limited to 'media/tools')
-rw-r--r--media/tools/omx_test/omx_test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/tools/omx_test/omx_test.cc b/media/tools/omx_test/omx_test.cc
index ebba0b1..a5f6591 100644
--- a/media/tools/omx_test/omx_test.cc
+++ b/media/tools/omx_test/omx_test.cc
@@ -174,6 +174,8 @@ class TestApp : public base::RefCountedThreadSafe<TestApp>,
media::CodecIDToVideoCodec(av_stream_->codec->codec_id),
av_stream_->codec->coded_width,
av_stream_->codec->coded_height,
+ media::GetSurfaceWidth(av_stream_.get()),
+ media::GetSurfaceHeight(av_stream_.get()),
av_stream_->r_frame_rate.num,
av_stream_->r_frame_rate.den,
av_stream_->codec->extradata,