Skip to content

Commit

Permalink
Configure the h.264 parser to identify only IDR keyframes.
Browse files Browse the repository at this point in the history
This makes keyframes identified by "mythcommflag --rebuild" and
mythtranscode much closer to reality, though there are still
discrepancies compared to the recorder and raw ffmpeg.
  • Loading branch information
stichnot committed Jan 3, 2013
1 parent dc21c52 commit 590f161
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/libs/libmythtv/avformatdecoder.cpp
Expand Up @@ -354,6 +354,8 @@ AvFormatDecoder::AvFormatDecoder(MythPlayer *parent,

cc608_build_parity_table(cc608_parity_table);

m_h264_parser->use_I_forKeyframes(false);

LOG(VB_PLAYBACK, LOG_DEBUG, LOC + QString("PlayerFlags: 0x%1")
.arg(playerFlags, 0, 16));
}
Expand Down

0 comments on commit 590f161

Please sign in to comment.