Permalink
Browse files

there's no point in comparing frame number to key type

the .map file should now contain the same content as before addition
of proper duration support

Refs #10104
  • Loading branch information...
dekarl committed Jun 8, 2013
1 parent e4a91a0 commit dd5a80dcbdfd0ce856a6743c2e6f89b3a11fb318
Showing with 2 additions and 5 deletions.
  1. +2 −5 mythtv/programs/mythtranscode/main.cpp
@@ -60,11 +60,8 @@ static void UpdatePositionMap(frm_pos_map_t &posMap, frm_pos_map_t &durMap, QStr
fprintf (mapfh, "Type: %d\n", keyType);
for (it = posMap.begin(); it != posMap.end(); ++it)
{
if (it.key() == keyType)
{
QString str = QString("%1 %2\n").arg(it.key()).arg(*it);
fprintf(mapfh, "%s", qPrintable(str));
}
QString str = QString("%1 %2\n").arg(it.key()).arg(*it);
fprintf(mapfh, "%s", qPrintable(str));
}
fclose(mapfh);
}

0 comments on commit dd5a80d

Please sign in to comment.