ext/faac/gstfaac.c: Fix default for outputformat property.
authorStefan Kost <ensonic@users.sourceforge.net>
Mon, 15 Dec 2008 15:56:18 +0000 (15:56 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Mon, 15 Dec 2008 15:56:18 +0000 (15:56 +0000)
Original commit message from CVS:
* ext/faac/gstfaac.c:
Fix default for outputformat property.

ChangeLog
ext/faac/gstfaac.c

index 11491f1..d93eaa2 100644 (file)
--- 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):
index 7782ce5..f802568 100644 (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;
 }