Opened 11 years ago
Closed 11 years ago
mythpreviewgen: Allow screengrab without seek table
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);
}
Change History (5)
Owner: |
set to stuartm
|
Status: |
new →
assigned
|
Milestone: |
unknown →
0.27
|
Status: |
assigned →
accepted
|
Type: |
Bug Report - General →
Patch - Feature
|
Type: |
Patch - Feature →
Patch - Bug Fix
|
Resolution: |
→ fixed
|
Status: |
accepted →
closed
|
In ecd5c6f12d32273790b009b47385cfc493d72b08/mythtv: