summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/msn
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/msn')
-rw-r--r--kopete/protocols/msn/webcam/libmimic/mimic-private.h6
-rw-r--r--kopete/protocols/msn/webcam/libmimic/mimic.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/kopete/protocols/msn/webcam/libmimic/mimic-private.h b/kopete/protocols/msn/webcam/libmimic/mimic-private.h
index 245793fb..adf59291 100644
--- a/kopete/protocols/msn/webcam/libmimic/mimic-private.h
+++ b/kopete/protocols/msn/webcam/libmimic/mimic-private.h
@@ -21,9 +21,9 @@
#include "mimic.h"
#define ENCODER_BUFFER_SIZE 16384
-#define ENCODER_TQUALITY_DEFAULT 0
-#define ENCODER_TQUALITY_MIN 0
-#define ENCODER_TQUALITY_MAX 10000
+#define ENCODER_QUALITY_DEFAULT 0
+#define ENCODER_QUALITY_MIN 0
+#define ENCODER_QUALITY_MAX 10000
struct _MimCtx {
gboolean encoder_initialized;
diff --git a/kopete/protocols/msn/webcam/libmimic/mimic.c b/kopete/protocols/msn/webcam/libmimic/mimic.c
index 2013022d..61abf9e8 100644
--- a/kopete/protocols/msn/webcam/libmimic/mimic.c
+++ b/kopete/protocols/msn/webcam/libmimic/mimic.c
@@ -155,7 +155,7 @@ gboolean mimic_encoder_init(MimCtx *ctx, const MimicResEnum resolution)
mimic_init(ctx, width, height);
/* Set a default quality setting. */
- ctx->quality = ENCODER_TQUALITY_DEFAULT;
+ ctx->quality = ENCODER_QUALITY_DEFAULT;
ctx->encoder_initialized = TRUE;
@@ -300,8 +300,8 @@ gboolean mimic_set_property(MimCtx *ctx, const gchar *name, gpointer data)
if (strcmp(name, "quality") == 0) {
gint new_quality = *((gint *) data);
- if (new_quality < ENCODER_TQUALITY_MIN ||
- new_quality > ENCODER_TQUALITY_MAX)
+ if (new_quality < ENCODER_QUALITY_MIN ||
+ new_quality > ENCODER_QUALITY_MAX)
{
return FALSE;
}