diff options
author | John Stebbins <[email protected]> | 2015-11-13 19:38:02 -0800 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-01-21 10:09:44 -0700 |
commit | fcb78d5c24387bf2dad2e3c38b4417431b2836ae (patch) | |
tree | 8232f55f36175db115ee08ebd5f5e41c29c53949 /libhb/decavcodec.c | |
parent | 56925edbfa59cda34d3fa45f4c61f48970cee5fb (diff) |
sync: gut and rewrite
sync.c was difficult to read, fragile, and prone to difficult to
diagnose bugs (see
https://forum.handbrake.fr/viewtopic.php?f=12&t=33147)
This rewrite simplifies the code, removes signals, locking and yield
that probably cause the above problem and is much more flexible. It
fixes a wider variety of timestamp issues than before and is much easier
to extend if other timestamp analysis is desired.
Diffstat (limited to 'libhb/decavcodec.c')
-rw-r--r-- | libhb/decavcodec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c index b21b19de4..c7ed9494b 100644 --- a/libhb/decavcodec.c +++ b/libhb/decavcodec.c @@ -918,6 +918,7 @@ static hb_buffer_t *copy_frame( hb_work_private_t *pv ) pv->qsv.config.io_pattern == MFX_IOPATTERN_OUT_OPAQUE_MEMORY) { buf->qsv_details.qsv_atom = pv->frame->data[2]; + buf->qsv_details.ctx = pv->job->qsv.ctx; return buf; } #endif |