Ticket #11939: main.cpp.patch20131107

File main.cpp.patch20131107, 424 bytes (added by finlay@…, 13 years ago)

patch to only use DB cutlist if deleteMap is empty

Line 
1--- main.cpp.orig 2013-11-05 10:26:42.294071874 -0600
2+++ main.cpp 2013-11-07 23:38:31.841413311 -0600
3@@ -636,7 +636,8 @@
4 if (useCutlist)
5 {
6 LOG(VB_GENERAL, LOG_INFO, "Honoring the cutlist while transcoding");
7- pginfo->QueryCutList(deleteMap);
8+ if (deleteMap.size() == 0)
9+ pginfo->QueryCutList(deleteMap);
10 }
11 if (jobID >= 0)
12 {