Skip to content

Commit c4dd9bb

Browse files
committed
Removed framerate from codec
1 parent dd81930 commit c4dd9bb

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

sys/ffmpeg61/avcodec_parameters.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ func (ctx AVCodecParameters) MarshalJSON() ([]byte, error) {
6666
Width: int(ctx.width),
6767
Height: int(ctx.height),
6868
SampleAspectRatio: AVRational(ctx.sample_aspect_ratio),
69-
Framerate: AVRational(ctx.framerate),
7069
}
7170
}
7271

@@ -181,14 +180,6 @@ func (ctx *AVCodecParameters) SetSampleAspectRatio(aspect AVRational) {
181180
ctx.sample_aspect_ratio = C.AVRational(aspect)
182181
}
183182

184-
func (ctx *AVCodecParameters) Framerate() AVRational {
185-
return AVRational(ctx.framerate)
186-
}
187-
188-
func (ctx *AVCodecParameters) SetFramerate(rate AVRational) {
189-
ctx.framerate = C.AVRational(rate)
190-
}
191-
192183
// Video
193184
func (ctx *AVCodecParameters) Width() int {
194185
return int(ctx.width)

0 commit comments

Comments
 (0)