Changeset 165 for smplayer/trunk/src/discname.cpp
- Timestamp:
- May 16, 2014, 9:51:55 AM (12 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/discname.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 163
- Property svn:mergeinfo changed
-
smplayer/trunk/src/discname.cpp
r142 r165 1 1 /* smplayer, GUI front-end for mplayer. 2 Copyright (C) 2006-201 3Ricardo Villalba <[email protected]>2 Copyright (C) 2006-201 Ricardo Villalba <[email protected]> 3 3 4 4 This program is free software; you can redistribute it and/or modify … … 40 40 case VCD: protocol = "vcd"; break; 41 41 case CDDA: protocol = "cdda"; break; 42 42 43 } 43 44 return join( DiscData(protocol, title, device) ); … … 47 48 qDebug("DiscName::split: disc_url: '%s'", disc_url.toUtf8().constData()); 48 49 49 QRegExp rx1("^(dvd|dvdnav|vcd|cdda )://(\\d+)/(.*)");50 QRegExp rx2("^(dvd|dvdnav|vcd|cdda )://(\\d+)");51 QRegExp rx3("^(dvd|dvdnav|vcd|cdda ):///(.*)");52 QRegExp rx4("^(dvd|dvdnav|vcd|cdda ):(.*)");50 QRegExp rx1("^(dvd|dvdnav|vcd|cdda)://(\\d+)/(.*)"); 51 QRegExp rx2("^(dvd|dvdnav|vcd|cdda)://(\\d+)"); 52 QRegExp rx3("^(dvd|dvdnav|vcd|cdda):///(.*)"); 53 QRegExp rx4("^(dvd|dvdnav|vcd|cdda):(.*)"); 53 54 54 55 DiscData d; … … 145 146 d = split( "dvdnav:////dev/dvdrecorder/" ); 146 147 148 149 150 151 152 153 147 154 QString s; 148 155 s = join( DVD, 4, "/dev/dvd/" ); … … 156 163 s = joinDVD( 3, "", true ); 157 164 s = join( VCD, 3, "" ); 165 158 166 } 159 167 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
