Skip to content

Commit

Permalink
Removed debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
shimberger committed Dec 30, 2016
1 parent 8ff8713 commit 28fe77b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hls/http_frame.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ func (s *FrameHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
if tint, err := strconv.Atoi(t); err == nil {
time = tint
}
log.Debugf("Second %v", time)

path := path.Join(s.root, r.URL.Path)
if err := s.cmdHandler.ServeCommand(FFMPEGPath, []string{"-timelimit", "15", "-loglevel", "error", "-ss", fmt.Sprintf("%v.0", time), "-i", path, "-vf", "scale=320:-1", "-frames:v", "1", "-f", "image2", "-"}, w); err != nil {
log.Errorf("Problem serving screenshot: %v", err)
Expand Down

0 comments on commit 28fe77b

Please sign in to comment.