diff options
author | jstebbins <[email protected]> | 2011-08-16 14:45:11 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-08-16 14:45:11 +0000 |
commit | 054ccc3e7f749bd57950eb79e3286155516f5dca (patch) | |
tree | ccb2e8ba096cec7448a8678e3615cc20b4b6a73d /libhb/internal.h | |
parent | 949c23a54d0bd40572e9e99989af6841c6d79121 (diff) |
libhb: Use h.264 recovery points as key frames when decoding
Many transport streams have few or zero IDR frames. So scanning them
takes a long time, generates a lot of log spam, and results in poor
preview quality. Often there will be several identical preview frames
because it will find the same IDR for several of the previews. Using
recovery points helps all these problems.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4180 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/internal.h')
-rw-r--r-- | libhb/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/internal.h b/libhb/internal.h index c4b30ee4a..c93a01af2 100644 --- a/libhb/internal.h +++ b/libhb/internal.h @@ -264,6 +264,7 @@ int hb_stream_seek( hb_stream_t *, float ); int hb_stream_seek_ts( hb_stream_t * stream, int64_t ts ); int hb_stream_seek_chapter( hb_stream_t *, int ); int hb_stream_chapter( hb_stream_t * ); +int hb_stream_recovery_count( hb_stream_t * ); hb_buffer_t * hb_ts_decode_pkt( hb_stream_t *stream, const uint8_t * pkt ); |