summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-03-13 21:58:01 +0000
committerjstebbins <[email protected]>2011-03-13 21:58:01 +0000
commit6e531a9eadeeed119e9dbec4e642bde5ff7c42e9 (patch)
treef6cf5f063b6e7b776a84fc17d42897c4430ea519 /libhb
parent9d05a2b4756b2bbffac60eb50fc98e6cb1f4f9f0 (diff)
cosmetics and improved comments
Thanks Rodeo ;) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3849 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/hb.h2
-rw-r--r--libhb/render.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/libhb/hb.h b/libhb/hb.h
index 5729088cf..783da11cd 100644
--- a/libhb/hb.h
+++ b/libhb/hb.h
@@ -81,7 +81,7 @@ typedef struct hb_interjob_s
int last_job; /* job->sequence_id & 0xFFFFFF */
int frame_count; /* number of frames counted by sync */
int out_frame_count; /* number of frames counted by render */
- uint64_t total_time; /* real length in 90khz (i.e. / 90000 */
+ uint64_t total_time; /* real length in 90kHz ticks (i.e. seconds / 90000) */
int vrate; /* actual measured output vrate from 1st pass */
int vrate_base; /* actual measured output vrate_base from 1st pass */
diff --git a/libhb/render.c b/libhb/render.c
index 0b040fc23..1e7f43237 100644
--- a/libhb/render.c
+++ b/libhb/render.c
@@ -28,7 +28,7 @@ struct hb_work_private_s
int64_t chapter_time;
int chapter_val;
int count_frames; // frames output so far
- double frame_rate; // 90KHz ticks per frame (for CFR/PFR)
+ double frame_rate; // 90kHz ticks per frame (for CFR/PFR)
uint64_t out_last_stop; // where last frame ended (for CFR/PFR)
int drops; // frames dropped (for CFR/PFR)
int dups; // frames duped (for CFR/PFR)
@@ -716,7 +716,7 @@ void renderClose( hb_work_object_t * w )
hb_interjob_t * interjob = hb_interjob_get( w->private_data->job->h );
- /* Preserve dropped frame count for more accurate framerates in 2nd passes. */
+ /* Preserve output frame count and time for more accurate framerates in 2nd passes. */
interjob->out_frame_count = pv->count_frames;
interjob->total_time = pv->out_last_stop;