Skip to content

Commit

Permalink
MythBackend: Ensure the readahead thread is started in FileTransfer.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Kendall committed Jun 1, 2011
1 parent 730e931 commit 0640fe5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/programs/mythbackend/filetransfer.cpp
Expand Up @@ -17,6 +17,7 @@ FileTransfer::FileTransfer(QString &filename, MythSocket *remote,
{
pginfo = new ProgramInfo(filename);
pginfo->MarkAsInUse(true, kFileTransferInUseID);
rbuffer->Start();
}

FileTransfer::FileTransfer(QString &filename, MythSocket *remote, bool write) :
Expand All @@ -30,6 +31,7 @@ FileTransfer::FileTransfer(QString &filename, MythSocket *remote, bool write) :

if (write)
remote->useReadyReadCallback(false);
rbuffer->Start();
}

FileTransfer::~FileTransfer()
Expand Down

0 comments on commit 0640fe5

Please sign in to comment.