#define DEFAULT_FRAMESIZE 20
#define DEFAULT_CBR TRUE
#define DEFAULT_CONSTRAINED_VBR TRUE
-#define DEFAULT_BITRATE_TYPE BITRATE_TYPE_CBR
+#define DEFAULT_BITRATE_TYPE BITRATE_TYPE_CONSTRAINED_VBR
#define DEFAULT_COMPLEXITY 10
#define DEFAULT_INBAND_FEC FALSE
#define DEFAULT_DTX FALSE
GST_PARAM_MUTABLE_PLAYING));
g_object_class_install_property (gobject_class, PROP_INBAND_FEC,
g_param_spec_boolean ("inband-fec", "In-band FEC",
- "Enable forward error correction", DEFAULT_INBAND_FEC,
+ "Enable in-band forward error correction (use in combination with "
+ "the packet-loss-percentage property)", DEFAULT_INBAND_FEC,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS |
GST_PARAM_MUTABLE_PLAYING));
g_object_class_install_property (gobject_class, PROP_DTX,
}
}
GST_WARNING_OBJECT (enc,
- "Channel position %s is not representable in Vorbis order",
- gst_opus_channel_names[position]);
+ "Channel position %d is not representable in Vorbis order", position);
return -1;
}
needs to be done */
if (!positions_done[position]) {
int cv;
- GST_DEBUG_OBJECT (enc, "Channel position %s is not mapped yet, adding",
- gst_opus_channel_names[position]);
+ GST_DEBUG_OBJECT (enc, "Channel position %d is not mapped yet, adding",
+ position);
cv = gst_opus_enc_find_channel_position_in_vorbis_order (enc, position);
if (cv < 0)
g_assert_not_reached ();