Skip to content

Commit

Permalink
Fix index rebuilds for video content. Remove some additional unused
Browse files Browse the repository at this point in the history
variables.
  • Loading branch information
wagnerrp committed Jul 15, 2011
1 parent 043a68d commit 5251f28
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions mythtv/programs/mythcommflag/main.cpp
Expand Up @@ -1066,15 +1066,9 @@ int main(int argc, char *argv[])
bool isVideo = false;
int result = GENERIC_EXIT_OK;

QString filename;
QString outputfilename = QString::null;

QDateTime starttime;
QString allStart = "19700101000000";
QString allEnd = QDateTime::currentDateTime().toString("yyyyMMddhhmmss");
// QString allStart = "19700101000000";
// QString allEnd = QDateTime::currentDateTime().toString("yyyyMMddhhmmss");
int jobType = JOB_NONE;
QDir fullfile;
QString newCutList = QString::null;

if (!cmdline.Parse(argc, argv))
{
Expand Down Expand Up @@ -1186,7 +1180,7 @@ int main(int argc, char *argv[])
else if (cmdline.toBool("video"))
{
// build skiplist for video file
return RebuildSeekTable(cmdline.toString(filename), -1);
return RebuildSeekTable(cmdline.toString("video"), -1);
}
else if (cmdline.toBool("file"))
{
Expand Down

0 comments on commit 5251f28

Please sign in to comment.