X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fdv1394app.c;h=6de7d91ef377ec20dea5cb941763ff79032c2cac;hb=33a2dfad035026ca7d740c3fe25b7c15bdf6ceb6;hp=3471a5a6f6f294890868fc6d9566249226568324;hpb=504dc1986b9455653a57900cdb93ce78c6e475ae;p=rugen diff --git a/src/dv1394app.c b/src/dv1394app.c index 3471a5a..6de7d91 100644 --- a/src/dv1394app.c +++ b/src/dv1394app.c @@ -599,6 +599,9 @@ dv1394app dv1394app_init( GtkWidget *window, char *instance ) gtk_signal_connect( GTK_OBJECT( trim ), "button_release_event", GTK_SIGNAL_FUNC (trim_released), this ); } this->seek_flag = 1; + + this->playing[0] = create_pixbuf("empty_16x16.png"); + this->playing[1] = create_pixbuf("item_playing_16x16_(Axialis_Team).png"); } if ( instance != NULL ) @@ -709,7 +712,7 @@ char* frames2tc( int f, float fps, char* buf ) float d; int t; - if ( fps ) + if ( fps && f >= 0) { d = f / fps; t = d;