Permalink
Browse files

mythpreviewgen: Can't create local preview image of a remote recording

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 Feb 3, 2012
1 parent af0d12c commit 88ca731902007d1479c562fed4fcff359a5a5aea
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythtv/previewgenerator.cpp
@@ -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")

0 comments on commit 88ca731

Please sign in to comment.