lib/ffmpeg/window_titles.rb
def warn_on_mismatch(titles, application)
        unless titles.map(&:downcase).join(',').include? application.to_s
          FFMPEG.logger.warn "Process name and window title(s) do not match: #{titles}"
          FFMPEG.logger.warn "Please manually provide the displayed window title."
        end
      end
#
# Prints a warning if the retrieved list of window titles does no include
# the given application process name, which applications commonly do.
#
Prints a warning if the retrieved list of window titles does no include
the given application process name, which applications commonly do.
Prints a warning if the retrieved list of window titles does no include the given application process name which applications commonly do .
def warn_on_mismatch(titles, application)
        unless titles.map(&:downcase).join(',').include? application.to_s
          FFMPEG.logger.warn "Process name and window title(s) do not match: #{titles}"
          FFMPEG.logger.warn "Please manually provide the displayed window title."
        end
      end
def warn_on_mismatch ( titles , application ) unless titles . map ( & :downcase ) . join ( ',' ) . include? application . to_s FFMPEG . logger . warn "Process name and window title(s) do not match: #{titles}" FFMPEG . logger . warn "Please manually provide the displayed window title." end end
Prints a warning if the retrieved list of window titles does no include
the given application process name, which applications commonly do.
Prints a warning if the retrieved list of window titles does no include the given application process name which applications commonly do .
titles
application