| Index: content/common/gpu/media/v4l2_video_decode_accelerator.h
|
| diff --git a/content/common/gpu/media/v4l2_video_decode_accelerator.h b/content/common/gpu/media/v4l2_video_decode_accelerator.h
|
| index 0c6a4930714de29f9a10d33975255dc90d011f26..32af634cc9f1046dcbf248ed4f2cd724c441c5ac 100644
|
| --- a/content/common/gpu/media/v4l2_video_decode_accelerator.h
|
| +++ b/content/common/gpu/media/v4l2_video_decode_accelerator.h
|
| @@ -11,6 +11,7 @@
|
|
|
| #include <queue>
|
| #include <vector>
|
| +#include <linux/videodev2.h>
|
|
|
| #include "base/callback_forward.h"
|
| #include "base/memory/linked_ptr.h"
|
| @@ -426,6 +427,12 @@ class CONTENT_EXPORT V4L2VideoDecodeAccelerator
|
| // The codec we'll be decoding for.
|
| media::VideoCodecProfile video_profile_;
|
|
|
| + // Stores the current format. This is used to check against
|
| + // the format received when we dequeue a RESOLUTION_CHANGE event.
|
| + // Resolution change sequence is only executed if the new format is different
|
| + // than the current_format_.
|
| + struct v4l2_format current_format_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(V4L2VideoDecodeAccelerator);
|
| };
|
|
|
|
|