checkbox with image arrow for playing item display
[rugen] / src / dv1394app.c
index 3471a5a..6de7d91 100644 (file)
@@ -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;