revid: commiting unstaged stuff

This commit is contained in:
saxon 2018-11-21 13:44:18 +10:30
parent 338bc53e24
commit 4c01514b41
1 changed files with 3 additions and 1 deletions

View File

@ -235,6 +235,8 @@ func handleFlags() {
config.Packetization = revid.Mpegts config.Packetization = revid.Mpegts
case "Flv": case "Flv":
config.Packetization = revid.Flv config.Packetization = revid.Flv
case "MpegtsRtp":
config.Packetization = revid.MpegtsRtp
case "": case "":
default: default:
logger.Log(smartlogger.Error, pkg+"bad packetization argument") logger.Log(smartlogger.Error, pkg+"bad packetization argument")
@ -297,7 +299,7 @@ func handleFlags() {
config.Quantization = *configFlags[quantizationPtr] config.Quantization = *configFlags[quantizationPtr]
config.Timeout = *configFlags[timeoutPtr] config.Timeout = *configFlags[timeoutPtr]
config.IntraRefreshPeriod = *configFlags[intraRefreshPeriodPtr] config.IntraRefreshPeriod = *configFlags[intraRefreshPeriodPtr]
config.RtpAddress = *configFlags[RtpAddrPtr] config.RtpAddress = *configFlags[rtpAddrPtr]
} }
// initialize then run the main NetSender client // initialize then run the main NetSender client