mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
wasapi2: Fix broken debug log
I hope that MSVC is smart enought to warn this at build time Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1459>
This commit is contained in:
parent
87b150c42a
commit
8821165648
1 changed files with 2 additions and 1 deletions
|
@ -685,7 +685,8 @@ gst_wasapi2_client_thread_func_internal (GstWasapi2Client * self)
|
|||
/* device_index 0 will be assigned for default device
|
||||
* so the number of available device is count + 1 (for default device) */
|
||||
if (self->device_index >= 0 && self->device_index > (gint) count) {
|
||||
GST_WARNING_OBJECT (self, "Device index %d is unavailable");
|
||||
GST_WARNING_OBJECT (self, "Device index %d is unavailable",
|
||||
self->device_index);
|
||||
goto run_loop;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue