The ticket <a href="http://trac.videolan.org/vlc/ticket/3154">http://trac.videolan.org/vlc/ticket/3154</a> states that DirectShow devices containing the # character cannot be used in VLM configs. When using 2 identical webcams, this is exactly what happens.<br>
<br>I think the problem is on line 137 of src/input/vlmshell.c (<a href="http://trac.videolan.org/vlc/browser/src/input/vlmshell.c">http://trac.videolan.org/vlc/browser/src/input/vlmshell.c</a>)<br><br><div style="margin-left: 40px;">
134 // Don't escape the end of the string if we find a '#'<br>135 // that's the begining of a vlc command<br>136 // TODO: find a better solution<br>137 if( c == '#' || param )<br>138 {<br>139   param = true;<br>
140   *out++ = c;<br>141   continue;<br>142 }<br></div><br>Finding charatcter # does not always mean a VLC command is following. Replacing line 137 with<br><br><div style="margin-left: 40px;">if( ( c == '#' && !quote ) || param )<br>
</div><br>should to the trick, it won't consider # inside quotes as the beginning of a VLC command. However, I don't know if this could break other stuff, I'm too unfamiiar with the code.<br><br>Regards,<br><br>
Marnik<br>