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."
280
280
(format " (delete-directory %s t) " (shell-quote-argument path)))))
281
281
282
282
(defun ffmpeg-player--clean-video-images ()
283
- " Clean up all video images."
283
+ " Clean up current video images."
284
284
(unless (string-empty-p ffmpeg-player--img-dir)
285
285
(ffmpeg-player--async-delete-directory ffmpeg-player--img-dir)))
286
286
@@ -567,7 +567,8 @@ Information about first frame timer please see variable `ffmpeg-player--first-fr
567
567
" Clean all the data, like images cache."
568
568
(interactive )
569
569
(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))))
571
572
572
573
;;;### autoload
573
574
(defun ffmpeg-player-video (path )
You can’t perform that action at this time.
0 commit comments