[mythtv-commits] Ticket #11274: mythpreviewgen: Allow screengrab without seek table
MythTV
noreply at mythtv.org
Tue Dec 4 14:16:51 UTC 2012
#11274: mythpreviewgen: Allow screengrab without seek table
-----------------------------+-----------------------------------------
Reporter: managementboy@… | Type: Bug Report - General
Status: new | Priority: minor
Milestone: unknown | Component: MythTV - Mythpreviewgen
Version: Unspecified | Severity: medium
Keywords: | Ticket locked: 0
-----------------------------+-----------------------------------------
Stuart applied a patch from Lawrence at
https://github.com/MythTV/mythtv/commit/9f992779383240c601fefdc7bd5049c2703e9959
but it is missing the last few lines of the diff. The previews only get
created if hasFullPositionMap is not a requirement.
{{{
---
mythtv-0.27.0~master.20121204.c05c1e1.orig/mythtv/libs/libmythtv/mythplayer.cpp
+++
mythtv-0.27.0~master.20121204.c05c1e1/mythtv/libs/libmythtv/mythplayer.cpp
@@ -4329,12 +4329,8 @@ void MythPlayer::SeekForScreenGrab(uint6
}
}
- // Only do seek if we have position map
- if (hasFullPositionMap)
- {
- DiscardVideoFrame(videoOutput->GetLastDecodedFrame());
- DoJumpToFrame(number, kInaccuracyNone);
- }
+ DiscardVideoFrame(videoOutput->GetLastDecodedFrame());
+ DoJumpToFrame(number, kInaccuracyNone);
}
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11274>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list