Changeset 44997
- Timestamp:
- 12/11/20 14:12:18 (2 years ago)
- Location:
- titan
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/mc/mc_videoplayer.h
r44983 r44997 718 718 filename = ostrcat("", listbox->select->name, 0, 0); 719 719 720 // if(cmpfilenameext(filename, ".ts") == 0 && ostrstr(filename, "://") == NULL && checkbox("VUSOLO2") != 1) 721 // if(cmpfilenameext(filename, ".ts") == 0 && ostrstr(filename, "://") == NULL) 722 // playertype = 1; 723 // else 720 if(getconfigint("playertype", NULL) == 1 && (cmpfilenameext(filename, ".ts") == 0 || cmpfilenameext(filename, ".mts") == 0 || cmpfilenameext(filename, ".m2ts") == 0)) 721 playertype = 1; 722 else 724 723 playertype = 0; 725 724 … … 840 839 filename = createpath(filelistpath->text, filelist->select->name); 841 840 842 // if(cmpfilenameext(filename, ".ts") == 0 && checkbox("VUSOLO2") != 1) 843 // if(cmpfilenameext(filename, ".ts") == 0) 844 // playertype = 1; 845 // else 841 if(getconfigint("playertype", NULL) == 1 && (cmpfilenameext(filename, ".ts") == 0 || cmpfilenameext(filename, ".mts") == 0 || cmpfilenameext(filename, ".m2ts") == 0)) 842 playertype = 1; 843 else 846 844 playertype = 0; 847 845 -
titan/titan/play.h
r44996 r44997 1726 1726 if(file != NULL) 1727 1727 { 1728 if(getconfigint("playertype", NULL) == 1 && cmpfilenameext(file, ".ts") == 0)1729 1728 // if(cmpfilenameext(file, ".ts") == 0) 1729 if(getconfigint("playertype", NULL) == 1 && (cmpfilenameext(file, ".ts") == 0 || cmpfilenameext(file, ".mts") == 0 || cmpfilenameext(file, ".m2ts") == 0)) 1730 1730 { 1731 1731 playertype = 1;
Note: See TracChangeset
for help on using the changeset viewer.