OSDN Git Service
(root)
/
handbrake-jp
/
handbrake-jp-git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LinGui: add option to completely disable update checking
[handbrake-jp/handbrake-jp-git.git]
/
libhb
/
sync.c
diff --git
a/libhb/sync.c
b/libhb/sync.c
index
1f6581e
..
3601780
100644
(file)
--- a/
libhb/sync.c
+++ b/
libhb/sync.c
@@
-390,6
+390,9
@@
int syncVideoWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
cur->start = sync->next_start;
cur->stop = cur->start + 90000. / ((double)job->vrate / (double)job->vrate_base);
cur->start = sync->next_start;
cur->stop = cur->start + 90000. / ((double)job->vrate / (double)job->vrate_base);
+ /* Make sure last frame is reflected in frame count */
+ pv->common->count_frames++;
+
/* Push the frame to the renderer */
hb_fifo_push( job->fifo_sync, cur );
sync->cur = NULL;
/* Push the frame to the renderer */
hb_fifo_push( job->fifo_sync, cur );
sync->cur = NULL;
@@
-561,7
+564,9
@@
int syncVideoWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
*/
if( subtitle->source == CC608SUB ||
subtitle->source == CC708SUB ||
*/
if( subtitle->source == CC608SUB ||
subtitle->source == CC708SUB ||
- subtitle->source == SRTSUB )
+ subtitle->source == SRTSUB ||
+ subtitle->source == UTF8SUB ||
+ subtitle->source == TX3GSUB)
{
/*
* Rewrite timestamps on subtitles that came from Closed Captions
{
/*
* Rewrite timestamps on subtitles that came from Closed Captions