diff options
author | jstebbins <[email protected]> | 2011-04-08 20:32:32 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-04-08 20:32:32 +0000 |
commit | 40d04d0ffe6a58d07bb0e46c1fd6060edbb6e80b (patch) | |
tree | 76c32eae70f16e66c7f4e3dc726c845843927108 /libhb/internal.h | |
parent | 5f692a69a63f106cabe9dad4dfc85cc5c6d93cb9 (diff) |
Handle boundaries between blueray clips better.
These boundaries are always discontinuities. But sometimes we were
not detecting them as such and would drop frames. So set a flag
in the buffer when libbluray tells us a new clip is starting and
use that to trigger computation of a new scr offset.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3912 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 092a7d067..5d71cdadf 100644 --- a/libhb/internal.h +++ b/libhb/internal.h @@ -69,6 +69,7 @@ struct hb_buffer_s int id; // ID of the track that the packet comes from int64_t start; // Video and subtitle packets: start time of frame/subtitle int64_t stop; // Video and subtitle packets: stop time of frame/subtitle + uint8_t discontinuity; int new_chap; // Video packets: if non-zero, is the index of the chapter whose boundary was crossed #define HB_FRAME_IDR 0x01 |