ducatividenc: use the defines from the dce header where possible
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 18 Oct 2012 16:02:36 +0000 (17:02 +0100)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 18 Oct 2012 16:02:36 +0000 (17:02 +0100)
src/gstducatividenc.c

index d6a3fbbee8af5c6c41f797a8bcc00ccd6bc386d1..238081a8b1b0f58d91959641378d8f3029c524d1 100644 (file)
@@ -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.
                            */
 };