[FFmpeg-devel] [PATCH 1/6] Fix dshow device name/description
toots at rastageeks.org
toots at rastageeks.org
Tue Mar 22 15:39:52 EET 2022
From: Romain Beauxis <romain.beauxis at nextstep.com>
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 6039578ff9..4ee3f6e194 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -552,8 +552,8 @@ dshow_cycle_devices(AVFormatContext *avctx, ICreateDevEnum *devenum,
if (!device)
goto fail;
- device->device_name = av_strdup(friendly_name);
- device->device_description = av_strdup(unique_name);
+ device->device_name = av_strdup(unique_name);
+ device->device_description = av_strdup(friendly_name);
if (!device->device_name || !device->device_description)
goto fail;
--
2.32.0 (Apple Git-132)
More information about the ffmpeg-devel
mailing list