diff options
author | dynaflash <[email protected]> | 2010-04-02 18:30:19 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2010-04-02 18:30:19 +0000 |
commit | a9d94774a6b4878d5a37f0af8186dba356044d90 (patch) | |
tree | 49273c268203421c2fbed80e90320c476a1f230d /macosx | |
parent | 90cd5b61a4513cc29e48052686a818c58e490081 (diff) |
MacGui: Remove a bunch of useless comments from the point a to b code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3188 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/Controller.m | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m index 42b7a2476..cc9978bb3 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -3572,15 +3572,9 @@ bool one_burned = FALSE; /* we are pts based start / stop */ [self writeToActivityLog: "Start / Stop set to seconds ..."]; - /* Point A to Point B. Since we cannot get frame accurate start times, attempt to glean a semi-accurate start time based on a percentage of the - * scanned title time as per live preview, while in some cases inaccurate its the best I can do with what I have barring a pre-scan index afaik. - */ - /* Attempt to bastardize the live preview code to get a roughly 1 second accurate point a to point b encode ... */ - /* get the start seconds from the start seconds field */ + /* Point A to Point B. Time to time in seconds.*/ + /* get the start seconds from the start seconds field */ int start_seconds = [[queueToApply objectForKey:@"StartSeconds"] intValue]; - //job->start_at_preview = start_seconds; - /* The number of seek points equals the number of seconds announced in the title as that is our current granularity */ - //job->seek_points = [[queueToApply objectForKey:@"SourceTotalSeconds"] intValue]; job->pts_to_start = start_seconds * 90000LL; /* Stop seconds is actually the duration of encode, so subtract the end seconds from the start seconds */ int stop_seconds = [[queueToApply objectForKey:@"StopSeconds"] intValue]; @@ -3599,17 +3593,11 @@ bool one_burned = FALSE; /* we are frame based start / stop */ [self writeToActivityLog: "Start / Stop set to frames ..."]; - /* Point A to Point B. Since we cannot get frame accurate start times, attempt to glean a semi-accurate start time based on a percentage of the - * scanned title time as per live preview, while in some cases inaccurate its the best I can do with what I have barring a pre-scan index afaik. - */ - /* Attempt to bastardize the live preview code to get a roughly 1 second accurate point a to point b encode ... */ - /* get the start seconds from the start seconds field */ + /* Point A to Point B. Frame to frame */ + /* get the start frame from the start frame field */ int start_frame = [[queueToApply objectForKey:@"StartFrame"] intValue]; - //job->start_at_preview = start_seconds; - /* The number of seek points equals the number of seconds announced in the title as that is our current granularity */ - //job->seek_points = [[queueToApply objectForKey:@"SourceTotalSeconds"] intValue]; job->frame_to_start = start_frame; - /* Stop seconds is actually the duration of encode, so subtract the end seconds from the start seconds */ + /* get the frame to stop on from the end frame field */ int stop_frame = [[queueToApply objectForKey:@"StopFrame"] intValue]; job->frame_to_stop = stop_frame; |