summaryrefslogtreecommitdiff
path: root/command/markad-standalone.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'command/markad-standalone.cpp')
-rw-r--r--command/markad-standalone.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/command/markad-standalone.cpp b/command/markad-standalone.cpp
index c32e9a1..349b131 100644
--- a/command/markad-standalone.cpp
+++ b/command/markad-standalone.cpp
@@ -887,20 +887,13 @@ void cMarkAdStandalone::Process2ndPass()
off_t offset;
int number,frame,iframes;
int frange=macontext.Video.Info.FramesPerSecond*120; // 40s + 80s
- int overlap=macontext.Video.Info.FramesPerSecond*10; // 10s
- if (((p1->type & 0xF0)==MT_ASPECTCHANGE) || (p1->type==0))
- {
- dsyslog("ignoring additional overlap");
- overlap=0;
- }
-
- if (marks.ReadIndex(directory,isTS,p1->position-frange,frange+overlap,&number,&offset,&frame,&iframes))
+ if (marks.ReadIndex(directory,isTS,p1->position-frange,frange,&number,&offset,&frame,&iframes))
{
if (!ProcessFile2ndPass(&p1,NULL,number,offset,frame,iframes)) break;
frange=macontext.Video.Info.FramesPerSecond*320; // 160s + 160s
- if (marks.ReadIndex(directory,isTS,p2->position-overlap,frange+overlap,&number,&offset,&frame,&iframes))
+ if (marks.ReadIndex(directory,isTS,p2->position,frange,&number,&offset,&frame,&iframes))
{
if (!ProcessFile2ndPass(&p1,&p2,number,offset,frame,iframes)) break;
}