[FFmpeg-cvslog] avdevice/dshow: Fix dshow device name/description

Romain Beauxis git at videolan.org
Sat Apr 9 22:39:31 EEST 2022


ffmpeg | branch: master | Romain Beauxis <romain.beauxis at nextstep.com> | Tue Mar 22 14:39:52 2022 +0100| [2a44db59cac9af255bfb4a1351b5113b713afcb5] | committer: Marton Balint

avdevice/dshow: Fix dshow device name/description

Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2a44db59cac9af255bfb4a1351b5113b713afcb5
---

 libavdevice/dshow.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index abb8325bc3..1e69620880 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;
 



More information about the ffmpeg-cvslog mailing list