File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ VOLUME of the sound from 0 ~ 100."
280280 (format " (delete-directory %s t) " (shell-quote-argument path)))))
281281
282282(defun ffmpeg-player--clean-video-images ()
283- " Clean up all video images."
283+ " Clean up current video images."
284284 (unless (string-empty-p ffmpeg-player--img-dir)
285285 (ffmpeg-player--async-delete-directory ffmpeg-player--img-dir)))
286286
@@ -567,7 +567,8 @@ Information about first frame timer please see variable `ffmpeg-player--first-fr
567567 " Clean all the data, like images cache."
568568 (interactive )
569569 (dolist (cache-dir ffmpeg-player--img-dir-lst)
570- (ffmpeg-player--async-delete-directory cache-dir)))
570+ (unless (string-empty-p cache-dir)
571+ (ffmpeg-player--async-delete-directory cache-dir))))
571572
572573;;;### autoload
573574(defun ffmpeg-player-video (path )
You can’t perform that action at this time.
0 commit comments