Skip to content

Commit

Permalink
mythpreviewgen: Can't create local preview image of a remote recording
Browse files Browse the repository at this point in the history
This fix allows mythpreviewgen to create a local image from a
remote recording.

Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
  • Loading branch information
Lawrence Rust authored and stuartm committed Nov 23, 2012
1 parent af0d12c commit 88ca731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/previewgenerator.cpp
Expand Up @@ -129,7 +129,7 @@ bool PreviewGenerator::RunReal(void)
"because mode was invalid 0x%2")
.arg(pathname).arg((int)mode,0,16));
}
else if (is_local && !!(mode & kLocal) && LocalPreviewRun())
else if (!!(mode & kLocal) && LocalPreviewRun())
{
ok = true;
msg = QString("Generated on %1 in %2 seconds, starting at %3")
Expand Down

0 comments on commit 88ca731

Please sign in to comment.