Class: FfmpegWrapper::Stream
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- FfmpegWrapper::Stream
- Defined in:
- lib/ffmpeg_wrapper/stream.rb
Instance Method Summary collapse
Instance Method Details
#audio? ⇒ Boolean
7 8 9 |
# File 'lib/ffmpeg_wrapper/stream.rb', line 7 def audio? codec_type == 'audio' if codec_type end |
#video? ⇒ Boolean
3 4 5 |
# File 'lib/ffmpeg_wrapper/stream.rb', line 3 def video? codec_type == 'video' if codec_type end |