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 <hta@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34682}
diff --git a/modules/video_capture/video_capture_impl.h b/modules/video_capture/video_capture_impl.h
index cbc99b7..9e4afe7 100644
--- a/modules/video_capture/video_capture_impl.h
+++ b/modules/video_capture/video_capture_impl.h
@@ -61,7 +61,7 @@
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 e4be7aa..e07cd68 100644
--- a/modules/video_capture/windows/sink_filter_ds.cc
+++ b/modules/video_capture/windows/sink_filter_ds.cc
@@ -176,7 +176,7 @@
}
// 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) {