diff options
author | wjia@chromium.org <wjia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-30 17:18:02 +0000 |
---|---|---|
committer | wjia@chromium.org <wjia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-30 17:18:02 +0000 |
commit | 1923cd9dbb42e1c12a8c9e2d9ca3f26c2a55a2cf (patch) | |
tree | 20d3b01da0920b227642a25488fdda82461a4881 /media/video | |
parent | ad61963c488d2ac267ba1a98f75a2c8781bc5a13 (diff) | |
download | chromium_src-1923cd9dbb42e1c12a8c9e2d9ca3f26c2a55a2cf.zip chromium_src-1923cd9dbb42e1c12a8c9e2d9ca3f26c2a55a2cf.tar.gz chromium_src-1923cd9dbb42e1c12a8c9e2d9ca3f26c2a55a2cf.tar.bz2 |
handle the case when device is closed before media pipeline is fully initialized.
CaptureVideoDecoder needs a signal for pre-matured closing of device. Then it can fulfill preroll request from VideoRenderBase.
Add unit tests for VideoCaptureController.
BUG=127552
Review URL: https://chromiumcodereview.appspot.com/10391065
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139559 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/video')
-rw-r--r-- | media/video/capture/video_capture_device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/video/capture/video_capture_device.h b/media/video/capture/video_capture_device.h index 2700144..fdfd8be 100644 --- a/media/video/capture/video_capture_device.h +++ b/media/video/capture/video_capture_device.h @@ -34,7 +34,7 @@ class MEDIA_EXPORT VideoCaptureDevice { }; typedef std::list<Name> Names; - class EventHandler { + class MEDIA_EXPORT EventHandler { public: // Captured a new video frame. virtual void OnIncomingCapturedFrame(const uint8* data, |