CUE (pause and goto) if item doubleclicked on a playlist
[rugen] / src / page_clips.c
index 1a69411..6a85d82 100644 (file)
@@ -320,8 +320,8 @@ static gboolean on_queue_item( GtkWidget *dummy, gpointer data )
        if ( gtk_tree_selection_get_selected( select, &model, &iter ) )
        {
                gtk_tree_model_get( model, &iter, 5, &clip,     -1 );
+               mvcp_unit_pause( this->dv, dv1394app_get_selected_unit( this->app ) );
                mvcp_unit_clip_goto( this->dv, dv1394app_get_selected_unit( this->app ), mvcp_absolute, clip, 0 );
-               mvcp_unit_play( this->dv, dv1394app_get_selected_unit( this->app ) );
        }
        
        return TRUE;