diff options
author | jstebbins <[email protected]> | 2011-04-25 15:57:07 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-04-25 15:57:07 +0000 |
commit | e06c1946ddf693572d8f3044daa423462b6bdadc (patch) | |
tree | fda10c68e279e9d1193f8339bf657c825a3a6bba /libhb/common.h | |
parent | c9fd57320b601bafaec8178680d689d3e5b75f77 (diff) |
Make order of audio tracks found in PS streams more predictable
Since PS streams don't have a directory of streams, we find them by
scanning the PES headers for stream types. We were adding them in the
order found which is pretty random. This sorts audios by substream id.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3958 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r-- | libhb/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h index 4844bd689..295ef9241 100644 --- a/libhb/common.h +++ b/libhb/common.h @@ -86,6 +86,7 @@ typedef struct hb_lock_s hb_lock_t; hb_list_t * hb_list_init(); int hb_list_count( hb_list_t * ); void hb_list_add( hb_list_t *, void * ); +void hb_list_insert( hb_list_t * l, int pos, void * p ); void hb_list_rem( hb_list_t *, void * ); void * hb_list_item( hb_list_t *, int ); void hb_list_close( hb_list_t ** ); |