diff options
author | jbrjake <[email protected]> | 2008-02-19 01:00:55 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2008-02-19 01:00:55 +0000 |
commit | 31c89d275f3e854fa0ac6d8ef52dfb913b1cdddc (patch) | |
tree | a747b4072380fc5d5a9fa924ffde2b5351af6624 /test | |
parent | 4a00a4c8029d5fb7c8d0f2fea09da68e0811c94a (diff) |
Don't try to show muxing progress since it always stays at 0 anyway.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1294 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/test/test.c b/test/test.c index 08bd19354..940bd82e2 100644 --- a/test/test.c +++ b/test/test.c @@ -87,6 +87,9 @@ static int ParseOptions( int argc, char ** argv ); static int CheckOptions( int argc, char ** argv ); static int HandleEvents( hb_handle_t * h ); +/* Only print the "Muxing..." message once */ +static int show_mux_warning = 1; + /**************************************************************************** * hb_error_handler * @@ -1058,8 +1061,12 @@ static int HandleEvents( hb_handle_t * h ) #define p s.param.muxing case HB_STATE_MUXING: { - fprintf( stdout, "\rMuxing: %.2f %%", 100.0 * p.progress ); - fflush(stdout); + if (show_mux_warning) + { + fprintf( stdout, "\rMuxing: this may take awhile..." ); + fflush(stdout); + show_mux_warning = 0; + } break; } #undef p |