Cleanup imports

This commit is contained in:
Davide Depau 2020-08-09 23:22:12 +02:00
parent cf3d889ba7
commit ca5c9212a0

View File

@ -3,6 +3,8 @@ package main
import ( import (
"context" "context"
"fmt" "fmt"
vnc "github.com/amitbet/vnc2video"
"github.com/amitbet/vnc2video/encoders"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"github.com/urfave/cli" "github.com/urfave/cli"
"net" "net"
@ -10,11 +12,8 @@ import (
"os/exec" "os/exec"
"os/signal" "os/signal"
"path" "path"
"strconv"
"syscall" "syscall"
"time" "time"
vnc "github.com/amitbet/vnc2video"
"github.com/amitbet/vnc2video/encoders"
) )
func init() { func init() {
@ -186,7 +185,7 @@ func recorder(c *cli.Context) error {
syscall.SIGHUP, syscall.SIGHUP,
syscall.SIGINT, syscall.SIGINT,
syscall.SIGTERM, syscall.SIGTERM,
syscall.SIGQUIT, ) syscall.SIGQUIT)
frameBufferReq := 0 frameBufferReq := 0
timeStart := time.Now() timeStart := time.Now()