Skip to content

Commit

Permalink
FFmpeg: Patch v4l2_m2m_dec.c to reduce minimum allowed buffers
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-kendall committed Jul 11, 2019
1 parent 5162cc0 commit b08b11e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/external/FFmpeg/libavcodec/v4l2_m2m_dec.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ static av_cold int v4l2_decode_init(AVCodecContext *avctx)
static const AVOption options[] = {
V4L_M2M_DEFAULT_OPTS,
{ "num_capture_buffers", "Number of buffers in the capture context",
OFFSET(num_capture_buffers), AV_OPT_TYPE_INT, {.i64 = 20}, 20, INT_MAX, FLAGS },
OFFSET(num_capture_buffers), AV_OPT_TYPE_INT, {.i64 = 20}, 2, INT_MAX, FLAGS },
{ NULL},
};

Expand Down

0 comments on commit b08b11e

Please sign in to comment.