Skip to content

Commit

Permalink
ffmpeg: Improve error logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
j0sh committed Jan 8, 2020
1 parent 249e100 commit a515b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffmpeg/ffmpeg.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func Transcode3(input *TranscodeOptionsIn, ps []TranscodeOptions) (*TranscodeRes
}
ret := int(C.lpms_transcode(inp, paramsPointer, resultsPointer, C.int(len(params)), decoded))
if 0 != ret {
glog.Infof("Transcoder Return : %v\n", Strerror(ret))
glog.Error("Transcoder Return : ", Strerror(ret))
return nil, ErrorMap[ret]
}
tr := make([]MediaInfo, len(ps))
Expand Down

0 comments on commit a515b82

Please sign in to comment.