summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test.c11
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