]> git.sesse.net Git - vlc/commitdiff
If using cddax (as opposed to cdda), then set the MRL accordingly.
authorRocky Bernstein <rocky@videolan.org>
Tue, 23 Nov 2004 02:44:30 +0000 (02:44 +0000)
committerRocky Bernstein <rocky@videolan.org>
Tue, 23 Nov 2004 02:44:30 +0000 (02:44 +0000)
modules/gui/wxwindows/open.cpp

index 425aad6fec46e94c95584cbf1bcb0f19af95730b..3b5c238c0457540cb5024427dfe83c538de440f0 100644 (file)
@@ -845,7 +845,13 @@ void OpenDialog::UpdateMRL( int i_access_method )
             break;
 
         case 3: /* CD-DA */
-            mrltemp = wxT("cdda://") + disc_device->GetValue();
+            mrltemp = 
+#ifdef HAVE_CDDAX
+             wxT("cddax://") 
+#else
+             wxT("cdda://") 
+#endif
+             + disc_device->GetValue();
             if( i_disc_title > 0 )
                 mrltemp += wxString::Format( wxT("@%d"), i_disc_title );