Fixed #671, related to VFR transformation erasing templater tags.

Originally committed to SVN as r1921.
This commit is contained in:
Rodrigo Braz Monteiro 2008-03-06 19:40:24 +00:00
parent b1eb77e1b9
commit 853fbfaebd
1 changed files with 4 additions and 0 deletions

View File

@ -157,6 +157,10 @@ void AssTransformFramerateFilter::LoadSettings(bool IsDefault) {
///////////////////////////////
// Transform framerate in tags
void AssTransformFramerateFilter::TransformTimeTags (wxString name,int n,AssOverrideParameter *curParam,void *curData) {
// Only modify anything if this is a number
VariableDataType type = curParam->GetType();
if (type != VARDATA_INT && type != VARDATA_FLOAT) return;
// Setup
LineData *lineData = (LineData*) curData;
AssDialogue *curDiag = lineData->line;;