omxvideodec: use the correct OMX_IndexParam value

Fixes playback is not smooth in the EGL path.
This commit is contained in:
Josep Torra 2013-04-08 16:31:33 +02:00
parent 31159a9b36
commit c46a6a757e

View 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);