mirror of https://bitbucket.org/ausocean/av.git
updating changes
This commit is contained in:
parent
4aa0fed8b8
commit
839ac9d922
|
@ -365,8 +365,11 @@ func updateRevid(stop bool) {
|
|||
case "RtmpUrl":
|
||||
config.RtmpUrl = value
|
||||
case "Bitrate":
|
||||
revidInst.Log(revid.Debug, fmt.Sprintf("The value: %v", value))
|
||||
asInt, err := strconv.Atoi(value)
|
||||
revidInst.Log(revid.Debug, fmt.Sprintf("Bitrate as integer: %v", asInt))
|
||||
if asInt > 0 && err == nil {
|
||||
revidInst.Log(revid.Debug, "Updating bitrate")
|
||||
config.Bitrate = value
|
||||
}
|
||||
case "OutputFileName":
|
||||
|
|
|
@ -411,7 +411,7 @@ func (r *revid) outputClips() {
|
|||
r.Log(Detail, "About to send")
|
||||
err2 := r.sendClip(clip)
|
||||
if err2 == nil {
|
||||
r.Log(Debug, "Sent clip")
|
||||
r.Log(Detail, "Sent clip")
|
||||
}
|
||||
|
||||
if r.isRunning && err2 != nil && len(clip) > 11 {
|
||||
|
|
Loading…
Reference in New Issue