Sha256: e1602325e85d454aba4eca435f33acbbfeceb178dd6f76d027443eb30a4b1e5f
Contents?: true
Size: 578 Bytes
Versions: 2
Compression:
Stored size: 578 Bytes
Contents
# @since 1.0.0-beta11 module ScreenRecorder # @since 1.0.0-beta11 class Window < Common # # Window recording specific initializer. # def initialize(title:, output:, advanced: {}) raise NotImplementedError, 'Window recording is only supported on Microsoft Windows.' unless OS.windows? super(input: format_input(title), output: output, advanced: advanced) end private # # Sets input syntax specific to the FFmpeg window recorder. # def format_input(title) %("title=#{title}") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
screen-recorder-1.2.0 | lib/screen-recorder/window.rb |
screen-recorder-1.0.0 | lib/screen-recorder/window.rb |