Ticket #8533: 8533_transcode_filters_v01.diff

File 8533_transcode_filters_v01.diff, 650 bytes (added by cpinkham, 14 years ago)

Patch to enable filters during transcoding.

  • libs/libmythtv/mythplayer.cpp

     
    40334033    if (eof)
    40344034      return false;
    40354035    is_key = GetDecoder()->isLastFrameKey();
     4036
     4037    videofiltersLock.lock();
     4038    if (videoFilters)
     4039    {
     4040        FrameScanType ps = m_scan;
     4041        if (kScan_Detect == m_scan || kScan_Ignore == m_scan)
     4042            ps = kScan_Progressive;
     4043
     4044        videoFilters->ProcessFrame(videoOutput->GetLastDecodedFrame(), ps);
     4045    }
     4046    videofiltersLock.unlock();
     4047
    40364048    return true;
    40374049}
    40384050