diff options
author | eddyg <[email protected]> | 2007-08-21 03:24:39 +0000 |
---|---|---|
committer | eddyg <[email protected]> | 2007-08-21 03:24:39 +0000 |
commit | b4be9fecbbe66767fcf3b25aec8628d3f6b789ec (patch) | |
tree | b14084f5f504abc08826d2cd7662f21c7b0e5982 /libhb/muxcommon.c | |
parent | a035bfd29afeb4560d85a295a405a83b76e68784 (diff) |
Add Subtitle scanning for forced subtitles and normal subtitles from the CLI
and the MacOS GUI. See the new subtitle language options in the GUI.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@844 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/muxcommon.c')
-rw-r--r-- | libhb/muxcommon.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libhb/muxcommon.c b/libhb/muxcommon.c index 009b81bd6..d6a8270da 100644 --- a/libhb/muxcommon.c +++ b/libhb/muxcommon.c @@ -65,7 +65,7 @@ static void MuxerFunc( void * _mux ) hb_mux_object_t * m = NULL; /* Get a real muxer */ - if( job->pass != 1 ) + if( job->pass == 0 || job->pass == 2) { switch( job->mux ) { @@ -114,7 +114,7 @@ static void MuxerFunc( void * _mux ) } /* Create file, write headers */ - if( job->pass != 1 ) + if( job->pass == 0 || job->pass == 2 ) { m->init( m ); } @@ -148,7 +148,7 @@ static void MuxerFunc( void * _mux ) // thread_sleep_interval = MAX(1, (thread_sleep_interval - 1)); buf = hb_fifo_get( track->fifo ); - if( job->pass != 1 ) + if( job->pass == 0 || job->pass == 2 ) { m->mux( m, track->mux_data, buf ); track->frames += 1; @@ -158,7 +158,7 @@ static void MuxerFunc( void * _mux ) hb_buffer_close( &buf ); } - if( job->pass != 1 ) + if( job->pass == 0 || job->pass == 2 ) { struct stat sb; uint64_t bytes_total, frames_total; |