Index: content/common/gpu/media/dxva_video_decode_accelerator_win.h |
diff --git a/content/common/gpu/media/dxva_video_decode_accelerator_win.h b/content/common/gpu/media/dxva_video_decode_accelerator_win.h |
index 56087b335e8856640b1e69e41bb8fc8ede617aef..950eda5a090cd079a7bcd1f510722562b1236304 100644 |
--- a/content/common/gpu/media/dxva_video_decode_accelerator_win.h |
+++ b/content/common/gpu/media/dxva_video_decode_accelerator_win.h |
@@ -29,6 +29,7 @@ |
#include "base/threading/thread.h" |
#include "base/win/scoped_comptr.h" |
#include "content/common/content_export.h" |
+#include "media/filters/h264_parser.h" |
#include "media/video/video_decode_accelerator.h" |
interface IMFSample; |
@@ -75,6 +76,8 @@ class H264ConfigChangeDetector { |
// we want to honor after we see an IDR slice. |
bool pending_config_changed_; |
+ scoped_ptr<media::H264Parser> parser_; |
+ |
DISALLOW_COPY_AND_ASSIGN(H264ConfigChangeDetector); |
}; |
@@ -446,7 +449,7 @@ class CONTENT_EXPORT DXVAVideoDecodeAccelerator |
// when these changes occur then, the decoder works fine. The |
// H264ConfigChangeDetector class provides functionality to check if the |
// stream configuration changed. |
- H264ConfigChangeDetector config_change_detector_; |
+ scoped_ptr<H264ConfigChangeDetector> config_change_detector_; |
// Contains the initialization parameters for the video. |
Config config_; |