summaryrefslogtreecommitdiffstats
path: root/media/omx/omx_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/omx/omx_test.cc')
-rw-r--r--media/omx/omx_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/omx/omx_test.cc b/media/omx/omx_test.cc
index bb4ffd2..54ff63c 100644
--- a/media/omx/omx_test.cc
+++ b/media/omx/omx_test.cc
@@ -57,7 +57,7 @@ class TestApp {
// There are some conditions we don't want to enqueue, for example when
// the last buffer is an end-of-stream buffer, when we have stopped, and
// when we have received an error.
- bool eos = buffer->Eos();
+ bool eos = buffer->IsEndOfStream();
delete buffer;
if (!eos && !stopped_ && !error_)
FeedDecoder();