[gst-cvs] CVS: gstreamer/plugins/a52dec gsta52dec.c,1.2.4.3,1.2.4.4

Erik Walthinsen omegahacker at users.sourceforge.net
Wed Oct 17 01:52:27 PDT 2001


Update of /cvsroot/gstreamer/gstreamer/plugins/a52dec
In directory usw-pr-cvs1:/tmp/cvs-serv20849/plugins/a52dec

Modified Files:
      Tag: BRANCH-EVENTS1
	gsta52dec.c 
Log Message:
merge from HEAD on 20011016

Index: gsta52dec.c
===================================================================
RCS file: /cvsroot/gstreamer/gstreamer/plugins/a52dec/gsta52dec.c,v
retrieving revision 1.2.4.3
retrieving revision 1.2.4.4
diff -u -d -r1.2.4.3 -r1.2.4.4
--- gsta52dec.c	2001/09/28 22:54:02	1.2.4.3
+++ gsta52dec.c	2001/10/17 08:51:00	1.2.4.4
@@ -48,6 +48,10 @@
   ARG_DRC
 };
 
+//
+// "audio/a52" and "audio/ac3" are the same format.  The name
+// "ac3" is now deprecated and should not be used in new code.
+//
 GST_PADTEMPLATE_FACTORY (sink_factory,
   "sink",
   GST_PAD_SINK,
@@ -71,7 +75,7 @@
   GST_CAPS_NEW (
     "a52dec_src",
     "audio/raw",
-      "format",             GST_PROPS_STRING ("int"),
+        "format",           GST_PROPS_STRING ("int"),
         "law",              GST_PROPS_INT (0),
         "endianness",       GST_PROPS_INT (G_BYTE_ORDER),
         "signed",           GST_PROPS_BOOLEAN (TRUE),
@@ -329,7 +333,7 @@
 		  "a52dec_src_caps",
 		  "audio/raw",
 		  gst_props_new (
-		  "format",             GST_PROPS_STRING ("int"),
+		    "format",           GST_PROPS_STRING ("int"),
 		    "law",              GST_PROPS_INT (0),
 		    "endianness",       GST_PROPS_INT (G_BYTE_ORDER),
 		    "signed",           GST_PROPS_BOOLEAN (TRUE),
@@ -363,7 +367,7 @@
 
   samples = a52_init(0); // mm_accel());
   // FIXME this is 0ed only untill a liba52 bug is fixed
-  state = g_new0(a52_state_t, 1);
+  state = g_new(a52_state_t, 1);
 
   do {
     // find and read header





More information about the Gstreamer-commits mailing list