summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2008-12-15 15:56:18 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2008-12-15 15:56:18 +0000
commit9cfbca8754cef7961cbfbfb1d7a66ab886efefc9 (patch)
treeb4a5f4f1017ecb31b5f6cde5ad5f473e130a2dfc
parent16aa82d6e7f18ffef6087186d88ee97773b6e703 (diff)
downloadgst-plugins-bad-9cfbca8754cef7961cbfbfb1d7a66ab886efefc9.tar.gz
gst-plugins-bad-9cfbca8754cef7961cbfbfb1d7a66ab886efefc9.tar.bz2
gst-plugins-bad-9cfbca8754cef7961cbfbfb1d7a66ab886efefc9.zip
ext/faac/gstfaac.c: Fix default for outputformat property.
Original commit message from CVS: * ext/faac/gstfaac.c: Fix default for outputformat property.
-rw-r--r--ChangeLog5
-rw-r--r--ext/faac/gstfaac.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 11491f15..d93eaa27 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
diff --git a/ext/faac/gstfaac.c b/ext/faac/gstfaac.c
index 7782ce5a..f802568a 100644
--- a/ext/faac/gstfaac.c
+++ b/ext/faac/gstfaac.c
@@ -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;
}