mirror of
https://github.com/saily/vnc-recorder.git
synced 2025-06-29 06:56:56 +00:00
Cleanup imports
This commit is contained in:
parent
cf3d889ba7
commit
ca5c9212a0
7
main.go
7
main.go
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user