From c46a6a757e85b53463902887aec1535c63f1dafb Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Mon, 8 Apr 2013 16:31:33 +0200 Subject: [PATCH] omxvideodec: use the correct OMX_IndexParam value Fixes playback is not smooth in the EGL path. --- omx/gstomxvideodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index 3f0b53b8b8..23da5db99a 100644 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -1653,7 +1653,7 @@ gst_omx_video_dec_reconfigure_output_port (GstOMXVideoDec * self) goto no_egl; { -#define OMX_IndexParamBrcmVideoEGLRenderDiscardMode 0x7f0000dc +#define OMX_IndexParamBrcmVideoEGLRenderDiscardMode 0x7f0000db OMX_CONFIG_PORTBOOLEANTYPE discardMode; memset (&discardMode, 0, sizeof (discardMode)); discardMode.nSize = sizeof (discardMode);