summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2013-04-08 16:31:33 +0200
committerJosep Torra <n770galaxy@gmail.com>2013-04-08 16:31:33 +0200
commitc46a6a757e85b53463902887aec1535c63f1dafb (patch)
treeced370c09c366a283494753cb869c381352e3d40
parent31159a9b3619fd7f7c99dd6070ded063c0610291 (diff)
downloadgst-omx-c46a6a757e85b53463902887aec1535c63f1dafb.tar.gz
omxvideodec: use the correct OMX_IndexParam value
Fixes playback is not smooth in the EGL path.
-rw-r--r--omx/gstomxvideodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c
index 3f0b53b..23da5db 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);