[x264-devel] commit: Fix regression: disable flash detection without B-frames ( Jason Garrett-Glaser )
git version control
git at videolan.org
Mon Oct 12 20:31:56 CEST 2009
x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Mon Oct 12 11:29:23 2009 -0700| [a65d36142b765516dd80a6bed5bff7444b24f4aa] | committer: Jason Garrett-Glaser
Fix regression: disable flash detection without B-frames
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=a65d36142b765516dd80a6bed5bff7444b24f4aa
---
encoder/slicetype.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/encoder/slicetype.c b/encoder/slicetype.c
index 22a9ff1..d27a057 100644
--- a/encoder/slicetype.c
+++ b/encoder/slicetype.c
@@ -697,7 +697,7 @@ static int scenecut( x264_t *h, x264_mb_analysis_t *a, x264_frame_t **frames, in
int curp0, curp1, i, maxp1 = p0 + 1;
/* Only do analysis during a normal scenecut check. */
- if( real_scenecut )
+ if( real_scenecut && h->param.i_bframe )
{
/* Look ahead to avoid coding short flashes as scenecuts. */
if( h->param.i_bframe_adaptive == X264_B_ADAPT_TRELLIS )
More information about the x264-devel
mailing list