Skip to content
Browse files

Fix mythtranscode filter use.

The setting for mythranscode filters has existed for a long time,
but it doesn't look like it was ever fully hooked up or else it
was removed somewhere along the line during a code restructure.

This adds a call to videoFilters->ProcessFrame() in
MythPlayer::TranscodeGetNextFrame() to process the last decoded frame.

Fixes #8533.
  • Loading branch information
cpinkham committed Oct 18, 2011
1 parent ae6621f commit 9a54edf1d3931bc3e4ea9c8697addb015706f106
Showing with 12 additions and 0 deletions.
  1. +12 −0 mythtv/libs/libmythtv/mythplayer.cpp
@@ -4396,6 +4396,18 @@ bool MythPlayer::TranscodeGetNextFrame(
if (GetEof())
return false;
is_key = decoder->isLastFrameKey();

if (videoFilters)
FrameScanType ps = m_scan;
if (kScan_Detect == m_scan || kScan_Ignore == m_scan)
ps = kScan_Progressive;

videoFilters->ProcessFrame(videoOutput->GetLastDecodedFrame(), ps);

return true;

0 comments on commit 9a54edf

Please sign in to comment.
You can’t perform that action at this time.