From 954c1d1a0c72252e5cc46fd47f77b188f87d82b3 Mon Sep 17 00:00:00 2001 From: Artem Titov Date: Wed, 28 Jul 2021 20:35:21 +0200 Subject: [PATCH] Use backticks not vertical bars to denote variables in comments for /modules/video_capture Bug: webrtc:12338 Change-Id: I262ead2039022d4a8135d506dc6c43857b9bfa04 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/227099 Reviewed-by: Harald Alvestrand Commit-Queue: Artem Titov Cr-Commit-Position: refs/heads/master@{#34682} --- modules/video_capture/video_capture_impl.h | 2 +- modules/video_capture/windows/sink_filter_ds.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/video_capture/video_capture_impl.h b/modules/video_capture/video_capture_impl.h index cbc99b76c1..9e4afe7ec1 100644 --- a/modules/video_capture/video_capture_impl.h +++ b/modules/video_capture/video_capture_impl.h @@ -61,7 +61,7 @@ class VideoCaptureImpl : public VideoCaptureModule { const char* CurrentDeviceName() const override; - // |capture_time| must be specified in NTP time format in milliseconds. + // `capture_time` must be specified in NTP time format in milliseconds. int32_t IncomingFrame(uint8_t* videoFrame, size_t videoFrameLength, const VideoCaptureCapability& frameInfo, diff --git a/modules/video_capture/windows/sink_filter_ds.cc b/modules/video_capture/windows/sink_filter_ds.cc index e4be7aa14f..e07cd6893b 100644 --- a/modules/video_capture/windows/sink_filter_ds.cc +++ b/modules/video_capture/windows/sink_filter_ds.cc @@ -176,7 +176,7 @@ void GetSampleProperties(IMediaSample* sample, AM_SAMPLE2_PROPERTIES* props) { } // Returns true if the media type is supported, false otherwise. -// For supported types, the |capability| will be populated accordingly. +// For supported types, the `capability` will be populated accordingly. bool TranslateMediaTypeToVideoCaptureCapability( const AM_MEDIA_TYPE* media_type, VideoCaptureCapability* capability) {