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
Fix PFR issue where there are different number of frames in 1st and 2nd pass.
[handbrake-jp/handbrake-jp-git.git]
/
libhb
/
fifo.c
diff --git
a/libhb/fifo.c
b/libhb/fifo.c
index
cd348c8
..
fcb7b83
100644
(file)
--- a/
libhb/fifo.c
+++ b/
libhb/fifo.c
@@
-453,7
+453,7
@@
void hb_fifo_push_wait( hb_fifo_t * f, hb_buffer_t * b )
f->size += 1;
f->last = f->last->next;
}
f->size += 1;
f->last = f->last->next;
}
- if( f->wait_empty && f->size >=
f->thresh
)
+ if( f->wait_empty && f->size >=
1
)
{
f->wait_empty = 0;
hb_cond_signal( f->cond_empty );
{
f->wait_empty = 0;
hb_cond_signal( f->cond_empty );
@@
-485,7
+485,7
@@
void hb_fifo_push( hb_fifo_t * f, hb_buffer_t * b )
f->size += 1;
f->last = f->last->next;
}
f->size += 1;
f->last = f->last->next;
}
- if( f->wait_empty && f->size >=
f->thresh
)
+ if( f->wait_empty && f->size >=
1
)
{
f->wait_empty = 0;
hb_cond_signal( f->cond_empty );
{
f->wait_empty = 0;
hb_cond_signal( f->cond_empty );