Ticket #6584: check_dummy.patch

File check_dummy.patch, 816 bytes (added by Mark.Buechler@…, 11 years ago)

The patch.

  • libs/libmythtv/tv_play.cpp

     
    62056205        {
    62066206            ctx->LockPlayingInfo(__FILE__, __LINE__);
    62076207            QString playbackURL = ctx->playingInfo->GetPlaybackURL();
    6208             ctx->SetRingBuffer(new RingBuffer(playbackURL, false));
     6208
     6209            bool opennow = (ctx->tvchain->GetCardType(-1) != "DUMMY");
     6210
     6211            ctx->SetRingBuffer(new RingBuffer(playbackURL, false, true,
     6212                                              opennow ? 12 : (uint)-1));
    62096213            ctx->tvchain->SetProgram(*ctx->playingInfo);
    62106214            ctx->buffer->SetLiveMode(ctx->tvchain);
    62116215            ctx->UnlockPlayingInfo(__FILE__, __LINE__);