[PATCH] Use requested win32 dvd-adapter
Craig Huggins <[email protected]> Tue, 13 Feb 2024 00:06:58 +0000
| Newsgroups | gmane.comp.video.videolan.vlc.devel |
|---|---|
| Message-ID | <PU4P216MB2221CD48C950D9BE1807DA93D84F2@PU4P216MB2221.KORP216.PROD.OUTLOOK.COM> |
Use requested win32 dvd-adapter by looking for passed argument more thoroughly, matching linux dvb-adapter lookup.
I've tested this against vlc-3.0 git branch, and the issue remains in 4.0 development branch.
Enables using multiple instances of vlc each capturing their own dvb-adapter,
or a single libvlc instance capturing from multiple adapters via multiple player instances
---
modules/access/dtv/bdagraph.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/dtv/bdagraph.cpp b/modules/access/dtv/bdagraph.cpp
index b9b28cfac1..c6b26f926a 100644
--- a/modules/access/dtv/bdagraph.cpp
+++ b/modules/access/dtv/bdagraph.cpp
@@ -2042,7 +2042,7 @@ HRESULT BDAGraph::Check( REFCLSID clsid_this_network_type )
* available, so return with an error. */
long l_adapter = -1;
- l_adapter = var_GetInteger( p_access, "dvb-adapter" );
+ l_adapter = var_InheritInteger( p_access, "dvb-adapter" );
if( l_tuner_used < 0 && l_adapter >= 0 )
l_tuner_used = l_adapter - 1;
--
_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
https://mailman.videolan.org/listinfo/vlc-devel