Ticket #8961: filesize.patch
File filesize.patch, 702 bytes (added by , 14 years ago) |
---|
-
mythtv/programs/mythtranscode/main.cpp
1054 1054 MythDB::DBError("Error in mythtranscode", query); 1055 1055 } 1056 1056 1057 // Make sure to update the filesize since it probably changed 1058 QString filename = pginfo->GetPlaybackURL(false, true); 1059 QFileInfo st(filename); 1060 1061 if (st.exists()) 1062 { 1063 pginfo->SaveFilesize(st.size()); 1064 } 1065 1057 1066 JobQueue::ChangeJobStatus(jobID, JOB_FINISHED); 1058 1067 1059 1068 } else {