Changeset 19016 for titan/plugins/mc


Ignore:
Timestamp:
12/11/12 00:04:10 (11 years ago)
Author:
nit
Message:

[titan] optimize writemediadb

Location:
titan/plugins/mc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/mc/mc_audioplayer.h

    r19012 r19016  
    757757
    758758        if(status.mediadbthread == NULL)
     759        {
     760                if(status.writemediadb == 1)
     761                        writemediadb(getconfig("mediadbfile", NULL), NULL);
    759762                freemediadb(0);
     763        }
    760764
    761765        clearscreen(blackscreen);
  • titan/plugins/mc/mc_videoplayer.h

    r19012 r19016  
    986986
    987987        if(status.mediadbthread == NULL)
     988        {
     989                if(status.writemediadb == 1)
     990                        writemediadb(getconfig("mediadbfile", NULL), NULL);
    988991                freemediadb(0);
     992        }
    989993
    990994        clearscreen(blackscreen);
Note: See TracChangeset for help on using the changeset viewer.