IDRs detected before generating previews were not being remembered. So
we started decoding on non-IDR boundaries which generates a lot of
decoder log spam.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4279
b64f7644-9d1e-0410-96f1-
a4d463321fa5
}
return d;
}
+ else if( title && !( title->flags & HBTF_NO_IDR ) )
+ {
+ d->has_IDRs = 1;
+ }
/*
* opening for scan - delete any saved state then (re)scan the stream.
update_ts_streams( stream, stream->pmt_info.PCR_PID, 0, -1, P, NULL );
}
+ // IDRs will be search for in hb_stream_duration
+ stream->has_IDRs = 0;
hb_stream_duration(stream, title);
// One Chapter