func (s *Stream) SetSampleAspectRatio(aspectRatio *avutil.Rational) { s.CAVStream.sample_aspect_ratio.num = (C.int)(aspectRatio.Numerator()) s.CAVStream.sample_aspect_ratio.den = (C.int)(aspectRatio.Denominator()) }
func (s *Stream) SetAverageFrameRate(frameRate *avutil.Rational) { s.CAVStream.avg_frame_rate.num = (C.int)(frameRate.Numerator()) s.CAVStream.avg_frame_rate.den = (C.int)(frameRate.Denominator()) }
func (s *Stream) SetTimeBase(timeBase *avutil.Rational) { s.CAVStream.time_base.num = (C.int)(timeBase.Numerator()) s.CAVStream.time_base.den = (C.int)(timeBase.Denominator()) }