X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fpage_status.c;fp=src%2Fpage_status.c;h=c526a29573580830d5c10618eeaec0f74f5dd7e0;hb=ed586cc08f8ea818882cf5385901a3330a9def7f;hp=5f6b66d335d8de923328378c01658d80f5b764cf;hpb=af456e04d9e5686a032e534f8867187a08775286;p=rugen diff --git a/src/page_status.c b/src/page_status.c index 5f6b66d..c526a29 100644 --- a/src/page_status.c +++ b/src/page_status.c @@ -97,7 +97,7 @@ static int show_status( page_status this, mvcp_status status ) gtk_label_set_text( GTK_LABEL( widget ), temp ); if ( status->unit == dv1394app_get_selected_unit( this->app ) ) { - char tc1[12], tc2[12]; + char tc[12]; snprintf( temp, sizeof(temp), "U%d - [%s] %s", status->unit, @@ -108,9 +108,13 @@ static int show_status( page_status this, mvcp_status status ) gtk_statusbar_push( GTK_STATUSBAR( widget ), this->context, temp ); widget = lookup_widget( dv1394app_get_widget( this->app ), "bbt_label_1a" ); - snprintf( temp, sizeof(temp), "%s / %s", - frames2tc(status->position, status->fps, tc1), - frames2tc(status->out - status->position, status->fps, tc2)); + snprintf( temp, sizeof(temp), "POS: %s", + frames2tc(status->position, status->fps, tc)); + gtk_label_set_text( GTK_LABEL( widget ), temp ); + + widget = lookup_widget( dv1394app_get_widget( this->app ), "bbt_label_1b" ); + snprintf( temp, sizeof(temp), "REM: %s", + frames2tc(status->out - status->position, status->fps, tc)); gtk_label_set_text( GTK_LABEL( widget ), temp ); dv1394app_show_status( this->app, status );