ext/faac/gstfaac.c: Fix default for outputformat property.

Original commit message from CVS:
* ext/faac/gstfaac.c:
Fix default for outputformat property.
This commit is contained in:
Stefan Kost 2008-12-15 15:56:18 +00:00
parent 16aa82d6e7
commit 9cfbca8754
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2008-12-15 Stefan Kost <ensonic@users.sf.net>
* ext/faac/gstfaac.c:
Fix default for outputformat property.
2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
* examples/app/appsrc-ra.c: (feed_data):

View file

@ -235,7 +235,7 @@ gst_faac_class_init (GstFaacClass * klass)
g_object_class_install_property (gobject_class, ARG_OUTPUTFORMAT,
g_param_spec_enum ("outputformat", "Output format",
"Format of output frames",
GST_TYPE_FAAC_OUTPUTFORMAT, MAIN, G_PARAM_READWRITE));
GST_TYPE_FAAC_OUTPUTFORMAT, 0 /* RAW */ , G_PARAM_READWRITE));
/* virtual functions */
gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_faac_change_state);
@ -269,7 +269,7 @@ gst_faac_init (GstFaac * faac)
faac->bitrate = 1000 * 128;
faac->profile = MAIN;
faac->shortctl = SHORTCTL_NORMAL;
faac->outputformat = 0;
faac->outputformat = 0; /* RAW */
faac->tns = FALSE;
faac->midside = TRUE;
}