mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 09:32:40 +00:00
fix compilation without TV support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9774 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a66cc22948
commit
a62e8355b5
@ -543,10 +543,12 @@ if(strncmp("dvbin://",filename,8) == 0)
|
||||
if (!stream) return(NULL);
|
||||
if(strncmp("mf://",filename,5) == 0) {
|
||||
*file_format = DEMUXER_TYPE_MF;
|
||||
#ifdef USE_TV
|
||||
} else {
|
||||
*file_format = DEMUXER_TYPE_TV;
|
||||
if(filename[5] != '\0')
|
||||
tv_param_channel = strdup(filename + 5);
|
||||
#endif
|
||||
}
|
||||
stream->url= filename[5] != '\0' ? strdup(filename + 5) : NULL;
|
||||
return(stream);
|
||||
|
Loading…
Reference in New Issue
Block a user