Skip to content

Commit

Permalink
Disallow DVD and Bluray ringbuffers for file transfers.
Browse files Browse the repository at this point in the history
Following the changes to allow local paths for video playback, the
backend was trying to open a DVD or Bluray ringbuffer when asked for a
straight file transfer.
  • Loading branch information
mark-kendall committed May 20, 2011
1 parent f7d050b commit 8e61015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/programs/mythbackend/filetransfer.cpp
Expand Up @@ -11,7 +11,7 @@
FileTransfer::FileTransfer(QString &filename, MythSocket *remote,
bool usereadahead, int timeout_ms) :
readthreadlive(true), readsLocked(false),
rbuffer(RingBuffer::Create(filename, false, usereadahead, timeout_ms)),
rbuffer(RingBuffer::Create(filename, false, usereadahead, timeout_ms, true)),
sock(remote), ateof(false), lock(QMutex::NonRecursive),
refLock(QMutex::NonRecursive), refCount(0), writemode(false)
{
Expand Down

0 comments on commit 8e61015

Please sign in to comment.