Added codec context qmin

This commit is contained in:
Quentin Renard
2023-02-16 14:37:17 +01:00
parent d4365b2d45
commit 17b4d5963c
2 changed files with 10 additions and 0 deletions

View File

@@ -149,6 +149,14 @@ func (cc *CodecContext) Profile() Profile {
return Profile(cc.c.profile)
}
func (cc *CodecContext) Qmin() int {
return int(cc.c.qmin)
}
func (cc *CodecContext) SetQmin(qmin int) {
cc.c.qmin = C.int(qmin)
}
func (cc *CodecContext) SampleAspectRatio() Rational {
return newRationalFromC(cc.c.sample_aspect_ratio)
}