summaryrefslogtreecommitdiffstats
path: root/libhb/reader.c
diff options
context:
space:
mode:
authorvan <[email protected]>2008-11-25 07:55:51 +0000
committervan <[email protected]>2008-11-25 07:55:51 +0000
commit98d6ebb52840ae25250364cdc002a97560d6c3f1 (patch)
treea57f6161cc638bbfa13d03d9a36940ea4256cf34 /libhb/reader.c
parent46d2066439531f530ddff7fa3e4bb7a2b003f704 (diff)
- add John A. Stebbins' changes to handle TrueHD and DTS-HD multiplexed streams.
- give transport streams their own demuxer rather than constructing fake PS packets to use the DVD demuxer. - start re-doing the transport stream code so it does fewer memory to memory copies. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1953 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/reader.c')
-rw-r--r--libhb/reader.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libhb/reader.c b/libhb/reader.c
index 9dfd915e4..bdb1cf0b5 100644
--- a/libhb/reader.c
+++ b/libhb/reader.c
@@ -278,14 +278,7 @@ static void ReaderFunc( void * _r )
hb_set_state( r->job->h, &state );
}
- if ( r->title->demuxer == HB_NULL_DEMUXER )
- {
- hb_demux_null( ps, list, &r->demux );
- }
- else
- {
- hb_demux_ps( ps, list, &r->demux );
- }
+ (hb_demux[r->title->demuxer])( ps, list, &r->demux );
while( ( buf = hb_list_item( list, 0 ) ) )
{