Skip to content

Commit a4a84c7

Browse files
committed
review: fix orphan AVVideo reference after capture backend consolidation
The AVVideo→SCVideo consolidation in 9d242cd moved +displayNames and +getDisplayName: into SCVideo and deleted av_video.{h,m}, but missed the +getDisplayName: call in log_display_diagnostic(). With av_video.h gone, [AVVideo getDisplayName:display_id] no longer compiles. Switch to [SCVideo getDisplayName:display_id] (which already hosts the helper after the move).
1 parent 1d31ce3 commit a4a84c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/platform/macos/display.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
}
8787

8888
void log_display_diagnostic(CGDirectDisplayID display_id, const char *source) {
89-
NSString *display_name = [AVVideo getDisplayName:display_id];
89+
NSString *display_name = [SCVideo getDisplayName:display_id];
9090
const char *display_name_utf8 = display_name ? display_name.UTF8String : "<unknown>";
9191
CGDisplayModeRef mode = CGDisplayCopyDisplayMode(display_id);
9292

0 commit comments

Comments
 (0)