mirror of https://bitbucket.org/ausocean/av.git
Trying one last thing
This commit is contained in:
parent
d762352a97
commit
2dccba6969
|
@ -452,6 +452,8 @@ func (r *revidInst) setupOutputForFile() (err error) {
|
|||
// setupInputForRaspivid sets up things for input from raspivid i.e. starts
|
||||
// a raspivid process and pipes it's data output.
|
||||
func (r *revidInst) setupInputForRaspivid() error {
|
||||
fps,_ := strconv.Atoi(r.config.FrameRate)
|
||||
r.parser.SetDelay( uint( float64(1000) / float64(fps) ) )
|
||||
r.Log(Info, "Starting raspivid!")
|
||||
switch r.config.InputCodec {
|
||||
case H264:
|
||||
|
|
Loading…
Reference in New Issue