summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-07 00:02:11 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-07 00:02:11 +0000
commitbd0f08969a6fe21366e7d1fc7ae962c282325ae8 (patch)
treeb309cc3c24a5633155c7609af937cd7b57950c06 /media
parent66b6956f411464e34be8fe2a6f9692fa01e742ee (diff)
downloadchromium_src-bd0f08969a6fe21366e7d1fc7ae962c282325ae8.zip
chromium_src-bd0f08969a6fe21366e7d1fc7ae962c282325ae8.tar.gz
chromium_src-bd0f08969a6fe21366e7d1fc7ae962c282325ae8.tar.bz2
One-liner fix for player_wtl.
The contract for Get/PutCurrentFrame() is that you have to return the original frame, not NULL. Review URL: http://codereview.chromium.org/7795027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99871 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r--media/tools/player_wtl/view.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/media/tools/player_wtl/view.h b/media/tools/player_wtl/view.h
index 29edc69..f89f093 100644
--- a/media/tools/player_wtl/view.h
+++ b/media/tools/player_wtl/view.h
@@ -235,7 +235,6 @@ class WtlVideoWindow : public CScrollWindowImpl<WtlVideoWindow> {
last_timestamp_ = frame_timestamp;
ConvertFrame(frame);
}
- frame = NULL;
}
renderer_->PutCurrentFrame(frame);