diff options
author | jbrjake <[email protected]> | 2007-07-25 22:20:41 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2007-07-25 22:20:41 +0000 |
commit | 2c12dc427e857334b3d744ddf8829590f6ee3906 (patch) | |
tree | 529c02d37fd1e00319fb378a00cf82780bc46228 /libhb/decmpeg2.c | |
parent | 2d9fb029986e17218272e01ae1c629237e5c204d (diff) |
This patch from eddyg should help alleviate HandBrake's audio drop issues. It also adds a number of beautiful comments to sync.c that really help clarify the code. Thanks, eddy!
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@738 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decmpeg2.c')
-rw-r--r-- | libhb/decmpeg2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/decmpeg2.c b/libhb/decmpeg2.c index 65293c681..73252d927 100644 --- a/libhb/decmpeg2.c +++ b/libhb/decmpeg2.c @@ -161,6 +161,10 @@ int hb_libmpeg2_decode( hb_libmpeg2_t * m, hb_buffer_t * buf_es, buf->start = ( (uint64_t) m->info->display_picture->tag << 32 ) | ( (uint64_t) m->info->display_picture->tag2 ); + /* + * Add back in again to track PTS of MPEG2 frames + * hb_log("MPEG2: Normal buf->start = %lld", buf->start); + */ } else if( m->last_pts > -1 ) { |