Class: Libav::Stream::Unsupported

Inherits:
Object
  • Object
show all
Includes:
Libav::Stream
Defined in:
lib/libav/stream.rb

Instance Attribute Summary

Attributes included from Libav::Stream

#av_codec_ctx, #av_stream, #buffer, #reader

Instance Method Summary collapse

Methods included from Libav::Stream

#discard, #discard=, #each_frame, #format_afs, #index, #next_frame, #seek, #skip_frames, #type

Constructor Details

#initialize(p = {}) ⇒ Unsupported

Returns a new instance of Unsupported.



480
481
482
483
# File 'lib/libav/stream.rb', line 480

def initialize(p={})
  super(p)
  self.discard = :all
end

Instance Method Details

#buffer=(v) ⇒ Object



485
486
487
# File 'lib/libav/stream.rb', line 485

def buffer=(v)
  # nothing to be done here
end

#decode_frame(packet) ⇒ Object



489
490
491
# File 'lib/libav/stream.rb', line 489

def decode_frame(packet)
  return nil
end