lib/mkv2m4v/transcoder.rb in mkv2m4v-1.2.0 vs lib/mkv2m4v/transcoder.rb in mkv2m4v-1.2.1
- old
+ new
@@ -106,11 +106,11 @@
def video_ext
if video_format == "AVC"
"h264"
else
- video_format.gsub(/\W/, "").downcase
+ video_format.to_s.gsub(/\W/, "").downcase
end
end
def video_language
@file.ideal_video_track.language || @options[:languages].first || UnknownLanguage
@@ -131,10 +131,10 @@
def audio_format
@file.ideal_audio_track.format
end
def audio_ext
- audio_format.gsub(/\W/, "").downcase
+ audio_format.to_s.gsub(/\W/, "").downcase
end
def audio_language
@file.ideal_audio_track.language || @options[:languages].first || UnknownLanguage
end