mirror of https://bitbucket.org/ausocean/av.git
adding staright to file testing in, need to remove
This commit is contained in:
parent
b0dd41dcf0
commit
61bb0b68f6
|
@ -32,6 +32,7 @@ import (
|
|||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"os"
|
||||
"os/exec"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
@ -344,6 +345,15 @@ func (r *Revid) setupPipeline(mtsEnc func(dst io.WriteCloser, rate float64) (io.
|
|||
|
||||
r.encoders = multiWriter(encoders...)
|
||||
|
||||
// !!! Test code
|
||||
//r.encoders = multiWriter(encoders...)
|
||||
f, er := os.Create("vid.mjpeg")
|
||||
if er != nil {
|
||||
panic("!!! TEST CODE !!!: file didnt work")
|
||||
}
|
||||
r.encoders = f
|
||||
// !!! Test code
|
||||
|
||||
l := len(r.cfg.Filters)
|
||||
r.filters = []filter.Filter{filter.NewNoOp(r.encoders)}
|
||||
if l != 0 {
|
||||
|
|
Loading…
Reference in New Issue