Changeset 167 for trunk/classes


Ignore:
Timestamp:
Mar 27, 2024, 10:35:15 PM (17 months ago)
Author:
gyoung
Message:

Addition code needed for playing mov files with modern video player

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/classes/c/c_video/cwmov.c

    r2 r167  
    9393SOM_Scope PSZ  SOMLINK cwmovM_wpclsQueryInstanceFilter(M_MMMOV *somSelf)
    9494{
     95    ULONG ulSize;
    9596    /* M_CWMOVData *somThis = M_CWMOVGetData(somSelf); */
    9697    M_MMMOVMethodDebug("M_MMMOV","cwmovM_wpclsQueryInstanceFilter");
    9798
    98     return "*.MOV,*.QT";
     99    ulSize = PrfQueryProfileInt(HINI_USERPROFILE, "CWMM", "nomodvid", 0);
     100    if(ulSize)
     101      return "*.MOV,*.QT";
     102    else
     103      return "*.QT";
    99104}
    100105
Note: See TracChangeset for help on using the changeset viewer.