mirror of https://github.com/mpv-player/mpv
added a workaround to get rid of 'Unable to open URL: mf://*.jpg' and such nonsense (tv,mf,vcd)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10698 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0fc1e3cd3f
commit
fa0f8ea2a4
|
@ -475,6 +475,9 @@ if(strncmp("dvd://",filename,6) == 0){
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// FIXME: to avoid nonsense error messages...
|
||||||
|
if (strncmp("tv://", filename, 5) && strncmp("mf://", filename, 5) &&
|
||||||
|
strncmp("vcd://", filename, 6))
|
||||||
url = url_new(filename);
|
url = url_new(filename);
|
||||||
if(url) {
|
if(url) {
|
||||||
if (strcmp(url->protocol, "smb")==0){
|
if (strcmp(url->protocol, "smb")==0){
|
||||||
|
|
Loading…
Reference in New Issue