Ticket #417: rec_filt-r7376.patch

File rec_filt-r7376.patch, 1.3 KB (added by gtgj@…, 19 years ago)

patch for recording video filters

  • libs/libmythtv/tv_rec.cpp

     
    34233423        return;
    34243424    }
    34253425
    3426     // Setup for framebuffer capture devices..
    3427     SetVideoFiltersForChannel(channel, channel->GetCurrentName());
    3428 #ifdef USING_V4L
    3429     if (GetV4LChannel())
    3430     {
    3431         channel->SetBrightness();
    3432         channel->SetContrast();
    3433         channel->SetColour();
    3434         channel->SetHue();
    3435     }
    3436 #endif // USING_V4L
    3437 
    34383426    // Start dummy recorder for devices capable of signal monitoring.
    34393427    bool use_sm = SignalMonitor::IsSupported(genOpt.cardtype);
    34403428    bool livetv = request.flags & kFlagLiveTV;
     
    36953683        usleep(5 * 1000);
    36963684    stateChangeLock.lock();
    36973685
     3686    // Setup for framebuffer capture devices..
     3687    SetVideoFiltersForChannel(channel, channel->GetCurrentName());
     3688#ifdef USING_V4L
    36983689    if (GetV4LChannel())
     3690    {
    36993691        channel->SetFd(recorder->GetVideoFd());
     3692        channel->SetBrightness();
     3693        channel->SetContrast();
     3694        channel->SetColour();
     3695        channel->SetHue();
     3696    }
     3697#endif // USING_V4L
    37003698
    37013699    SetFlags(kFlagRecorderRunning);
    37023700    if (lastTuningRequest.flags & kFlagRecording)