From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 6B1604269E for ; Tue, 22 Mar 2022 13:40:29 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9595C68B148; Tue, 22 Mar 2022 15:40:24 +0200 (EET) Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B15B468ADD4 for ; Tue, 22 Mar 2022 15:40:18 +0200 (EET) Received: by mail-ed1-f48.google.com with SMTP id h1so21694852edj.1 for ; Tue, 22 Mar 2022 06:40:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=J9GOLLxh8UmQL8SowJd1iOHeER281UVgAHRfEg5H5dg=; b=I+T6lhjliqXomgNRVLODRqA7Le8TGIbpQMTIqzslEImYV9vqwT02LSbhAhNjJMPpbg bxS3F3zyWGxUTtnFUdNXuGCZHDxevzQ+n61FqziT/8PLdIBLnJXnBSWQ745fEVhWtaho zq3GZwlwVvyI5xZTn1RmfUjEDZU5J5iJqymCBr9cXdwcHcV7vGb7prwZxyObwWfdD/sm n7F0muYvEiz3xWyj0ijbepCiypBumZwH1YpWsc0XXitEMWq5uGhwNNfCJYPYLU98enyf KAXPm7WAwAjoOg061mSxVvTBKzYMbaFy12IE6lskR+v6kUk3Ica7Xyjeu4RmbWSbN/3X Ntpg== X-Gm-Message-State: AOAM532VNNiZmsyU0sDJ98XTkBrmMm9XUO4V3gzWDe4FCP2aFyRzPk3G BrMpDbv8gXMXoA/7CTtzoUvdjrrvLxQTcQil X-Google-Smtp-Source: ABdhPJyZBAAB84xupWDaM5PM0olkheCJYjT3yNfKNFn37uECniJ6KtFmNEEYoviPZY9Aa+KSJMySnw== X-Received: by 2002:a05:6402:11d2:b0:419:4da5:ed71 with SMTP id j18-20020a05640211d200b004194da5ed71mr7335571edw.272.1647956417615; Tue, 22 Mar 2022 06:40:17 -0700 (PDT) Received: from localhost.localdomain (82-171-134-41.fixed.kpn.net. [82.171.134.41]) by smtp.gmail.com with ESMTPSA id z6-20020a056402274600b004194fc1b7casm2125829edd.48.2022.03.22.06.40.16 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 22 Mar 2022 06:40:16 -0700 (PDT) From: toots@rastageeks.org To: ffmpeg-devel@ffmpeg.org Date: Tue, 22 Mar 2022 14:39:52 +0100 Message-Id: <20220322133957.81743-2-toots@rastageeks.org> X-Mailer: git-send-email 2.32.0 (Apple Git-132) In-Reply-To: <20220322133957.81743-1-toots@rastageeks.org> References: <20220322133957.81743-1-toots@rastageeks.org> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/6] Fix dshow device name/description X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Romain Beauxis Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: From: Romain Beauxis 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) _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".