@scrypted/libav 1.0.145 → 1.0.146
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/frame.cpp +1 -0
package/package.json
CHANGED
package/src/frame.cpp
CHANGED
|
@@ -230,6 +230,7 @@ Napi::Value AVFrameObject::CreateEncoder(const Napi::CallbackInfo &info)
|
|
|
230
230
|
c->pix_fmt = (enum AVPixelFormat)frame_->format;
|
|
231
231
|
c->time_base.num = timeBaseNum;
|
|
232
232
|
c->time_base.den = timeBaseDen;
|
|
233
|
+
c->max_b_frames = 0;
|
|
233
234
|
|
|
234
235
|
Napi::Value gopSizeValue = options.Get("gopSize");
|
|
235
236
|
if (gopSizeValue.IsNumber()) {
|