omxvideodec: use the correct OMX_IndexParam value
authorJosep Torra <n770galaxy@gmail.com>
Mon, 8 Apr 2013 14:31:33 +0000 (16:31 +0200)
committerJosep Torra <n770galaxy@gmail.com>
Mon, 8 Apr 2013 14:31:33 +0000 (16:31 +0200)
Fixes playback is not smooth in the EGL path.

omx/gstomxvideodec.c

index 3f0b53b..23da5db 100644 (file)
@@ -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);