diff options
author | van <[email protected]> | 2008-03-20 05:28:36 +0000 |
---|---|---|
committer | van <[email protected]> | 2008-03-20 05:28:36 +0000 |
commit | 5265ea2db4fb71b3b894c16b830783091b34129a (patch) | |
tree | 9b690a5bcbf2727590bdf5be6eb33ce79ea52d47 /libhb/render.c | |
parent | 3a3870d7ea1e81e1a145b1d555b9f0164860f9e3 (diff) |
Fix two of my stupid bugs that prevented using the queue with transport streams:
- keep a cache of the pid/substream id mappings from each scan rather than assuming an encode will immediately follow a scan (there will be lots of scans followed by lots of encodes when the queue is used).
- rewrite a few things to get rid of static variables. hb_ts_stream_decode is called by both scan & reader and they're in different threads. All the working storage & state has to either be in the stream struct or on the stack so it's private to the calling thread or it gets corrupted when doing a scan in the middle of an encode.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1351 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/render.c')
0 files changed, 0 insertions, 0 deletions