On Tue, Mar 22, 2022 at 7:40 AM <[email protected]> wrote: > > From: Romain Beauxis <[email protected]> > > 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; >
LGTM. The device enumeration API was added only recently to dshow, guess a bug crept in. Thanks! _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
