Commit 30fb54c2 authored by Hendrik Leppkes's avatar Hendrik Leppkes

Merge commit 'b7ab6e18'

* commit 'b7ab6e18':
  mmaldec: disable timestamp interpolation
Merged-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
parents 45ae2997 b7ab6e18
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <bcm_host.h> #include <bcm_host.h>
#include <interface/mmal/mmal.h> #include <interface/mmal/mmal.h>
#include <interface/mmal/mmal_parameters_video.h>
#include <interface/mmal/util/mmal_util.h> #include <interface/mmal/util/mmal_util.h>
#include <interface/mmal/util/mmal_util_params.h> #include <interface/mmal/util/mmal_util_params.h>
#include <interface/mmal/util/mmal_default_components.h> #include <interface/mmal/util/mmal_default_components.h>
...@@ -277,6 +278,9 @@ static int ffmal_update_format(AVCodecContext *avctx) ...@@ -277,6 +278,9 @@ static int ffmal_update_format(AVCodecContext *avctx)
if ((status = mmal_port_parameter_set_uint32(decoder->output[0], MMAL_PARAMETER_EXTRA_BUFFERS, ctx->extra_buffers))) if ((status = mmal_port_parameter_set_uint32(decoder->output[0], MMAL_PARAMETER_EXTRA_BUFFERS, ctx->extra_buffers)))
goto fail; goto fail;
if ((status = mmal_port_parameter_set_boolean(decoder->output[0], MMAL_PARAMETER_VIDEO_INTERPOLATE_TIMESTAMPS, 0)))
goto fail;
if (avctx->pix_fmt == AV_PIX_FMT_MMAL) { if (avctx->pix_fmt == AV_PIX_FMT_MMAL) {
format_out->encoding = MMAL_ENCODING_OPAQUE; format_out->encoding = MMAL_ENCODING_OPAQUE;
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment