docs/random/mimetypes: correct Theora information
authorBenjamin Otte <otte@gnome.org>
Fri, 30 Jan 2004 03:54:08 +0000 (03:54 +0000)
committerBenjamin Otte <otte@gnome.org>
Fri, 30 Jan 2004 03:54:08 +0000 (03:54 +0000)
Original commit message from CVS:
2004-01-30  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* docs/random/mimetypes:
correct Theora information
* gst/gstelement.h:
make GST_ELEMENT_ERROR do a GST_ERROR_OBJECT

ChangeLog
docs/random/mimetypes
gst/gstelement.h

index 8896ec3..e824247 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-01-30  Benjamin Otte  <in7y118@public.uni-hamburg.de>
+
+       * docs/random/mimetypes:
+         correct Theora information
+       * gst/gstelement.h:
+         make GST_ELEMENT_ERROR do a GST_ERROR_OBJECT
+
 2004-01-29  Julien MOUTTE  <julien@moutte.net>
 
        * gst/elements/gstfilesrc.c: (gst_filesrc_get),
index 128c95c..a66ddac 100644 (file)
@@ -292,7 +292,8 @@ framerate = 0 - MAXFLOAT (FLOAT)
      MIME type: video/x-theora
      Properties:
      Encoder:
-     Decoder: ffdec_vp3
+     Decoder:
+     This is the raw stream that comes out of an ogg file.
 
 15 - Huffyuv
      MIME type: video/x-huffyuv
index e8e9562..1ef7223 100644 (file)
@@ -140,11 +140,13 @@ typedef enum {
 #define GST_ELEMENT_PADS(obj)                  ((obj)->pads)
 
 #define GST_ELEMENT_ERROR(el, domain, code, message, debug) G_STMT_START { \
+  gchar *__msg = _gst_element_error_printf message; \
+  gchar *__dbg = _gst_element_error_printf debug; \
+  GST_ERROR_OBJECT (el, "%s", __dbg); \
   gst_element_error_full (GST_ELEMENT(el), \
   GST_ ## domain ## _ERROR, GST_ ## domain ## _ERROR_ ## code, \
-  _gst_element_error_printf message, \
-  _gst_element_error_printf debug, \
-  __FILE__, GST_FUNCTION, __LINE__); } G_STMT_END
+  __msg, __dbg, __FILE__, GST_FUNCTION, __LINE__); \
+} G_STMT_END
 
 typedef struct _GstElementFactory GstElementFactory;
 typedef struct _GstElementFactoryClass GstElementFactoryClass;