| Index: cc/resources/video_resource_updater.h
|
| diff --git a/cc/resources/video_resource_updater.h b/cc/resources/video_resource_updater.h
|
| index 4e11110a01ca1eb89894fe5c775493d0972781f1..bc47b4dae482780db8727ab92fd71a097e41b81f 100644
|
| --- a/cc/resources/video_resource_updater.h
|
| +++ b/cc/resources/video_resource_updater.h
|
| @@ -111,7 +111,11 @@ class CC_EXPORT VideoResourceUpdater
|
| const media::VideoFrame* video_frame,
|
| size_t plane_index);
|
|
|
| - static void SetPlaneResourceUniqueId(const media::VideoFrame* video_frame,
|
| + // Side effect: Marks in the userdata of the VideoFrame to prevent reusing the
|
| + // resource in the case that the original VideoFrame is destroyed and a new
|
| + // VideoFrame is re-created with the same pointer and the timestamps are not
|
| + // correctly set by the client.
|
| + static void SetPlaneResourceUniqueId(media::VideoFrame* video_frame,
|
| size_t plane_index,
|
| PlaneResource* plane_resource);
|
|
|
|
|