Merge branch 'master' into 0.11

This commit is contained in:
Wim Taymans 2011-11-10 18:34:48 +01:00
commit 2091480c54

View file

@ -1009,7 +1009,7 @@ gst_opus_enc_get_property (GObject * object, guint prop_id, GValue * value,
g_value_set_int (value, enc->bitrate);
break;
case PROP_BANDWIDTH:
g_value_set_int (value, enc->bandwidth);
g_value_set_enum (value, enc->bandwidth);
break;
case PROP_FRAME_SIZE:
g_value_set_int (value, enc->frame_size);
@ -1054,7 +1054,7 @@ gst_opus_enc_set_property (GObject * object, guint prop_id,
enc->bitrate = g_value_get_int (value);
break;
case PROP_BANDWIDTH:
enc->bandwidth = g_value_get_int (value);
enc->bandwidth = g_value_get_enum (value);
break;
case PROP_FRAME_SIZE:
enc->frame_size = g_value_get_int (value);