diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2011-10-09 16:12:21 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2011-10-09 16:12:21 +0200 |
commit | ae8627e6fc646ae66e9da67066800a6cdf7e9302 (patch) | |
tree | bf228b9f94c5307fd696ea6b0353ee66c424d542 /cutter.c | |
parent | 583f8409908054b6c7fd945d65da9c4326a65f7a (diff) | |
download | vdr-ae8627e6fc646ae66e9da67066800a6cdf7e9302.tar.gz vdr-ae8627e6fc646ae66e9da67066800a6cdf7e9302.tar.bz2 |
Fixed setting the start time of an edited recording
Diffstat (limited to 'cutter.c')
-rw-r--r-- | cutter.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: cutter.c 2.8 2011/08/21 11:08:08 kls Exp $ + * $Id: cutter.c 2.9 2011/10/09 16:09:58 kls Exp $ */ #include "cutter.h" @@ -210,7 +210,7 @@ bool cCutter::Start(const char *FileName) cRecording Recording(FileName); cMarks FromMarks; - FromMarks.Load(FileName); + FromMarks.Load(FileName, Recording.FramesPerSecond(), Recording.IsPesRecording()); if (cMark *First = FromMarks.First()) Recording.SetStartTime(Recording.Start() + (int(First->Position() / Recording.FramesPerSecond() + 30) / 60) * 60); |