tests: skip video file tests if ffmpeg isn't installed.
This commit is contained in:
@@ -22,6 +22,8 @@ class MediaFile::Video < MediaFile
|
||||
private
|
||||
|
||||
def video
|
||||
raise NotImplementedError, "can't process videos: ffmpeg or mkvmerge not installed" unless self.class.videos_enabled?
|
||||
|
||||
FFMPEG::Movie.new(file.path)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user