From: Vincent Penquerc'h Date: Thu, 18 Oct 2012 16:02:36 +0000 (+0100) Subject: ducatividenc: use the defines from the dce header where possible X-Git-Tag: glsdk-6_00_00_07~51 X-Git-Url: https://git.ti.com/gitweb?p=glsdk%2Fgst-plugin-ducati.git;a=commitdiff_plain;h=3895d0f60052330f21e1da2abcc522fd13a8ea0b ducatividenc: use the defines from the dce header where possible --- diff --git a/src/gstducatividenc.c b/src/gstducatividenc.c index d6a3fbb..238081a 100644 --- a/src/gstducatividenc.c +++ b/src/gstducatividenc.c @@ -87,17 +87,17 @@ GST_BOILERPLATE (GstDucatiVidEnc, gst_ducati_videnc, GstBaseVideoEncoder, enum { - GST_DUCATI_VIDENC_RATE_PRESET_LOW_DELAY = 1, /**< CBR rate control for video conferencing. */ - GST_DUCATI_VIDENC_RATE_PRESET_STORAGE = 2, /**< VBR rate control for local storage (DVD) + GST_DUCATI_VIDENC_RATE_PRESET_LOW_DELAY = IVIDEO_LOW_DELAY, /**< CBR rate control for video conferencing. */ + GST_DUCATI_VIDENC_RATE_PRESET_STORAGE = IVIDEO_STORAGE, /**< VBR rate control for local storage (DVD) * recording. */ - GST_DUCATI_VIDENC_RATE_PRESET_TWOPASS = 3, /**< Two pass rate control for non real time + GST_DUCATI_VIDENC_RATE_PRESET_TWOPASS = IVIDEO_TWOPASS, /**< Two pass rate control for non real time * applications. */ - GST_DUCATI_VIDENC_RATE_PRESET_NONE = 4, /**< No configurable video rate control + GST_DUCATI_VIDENC_RATE_PRESET_NONE = IVIDEO_NONE, /**< No configurable video rate control * mechanism. */ - GST_DUCATI_VIDENC_RATE_PRESET_USER_DEFINED = 5,/**< User defined configuration using extended + GST_DUCATI_VIDENC_RATE_PRESET_USER_DEFINED = IVIDEO_USER_DEFINED,/**< User defined configuration using extended * parameters. */ };