gst/level/gstlevel.c: Fix compilation (also known as the classic 'fix code that someo...
authorEdward Hervey <bilboed@bilboed.com>
Mon, 11 Aug 2008 10:53:06 +0000 (10:53 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 11 Aug 2008 10:53:06 +0000 (10:53 +0000)
Original commit message from CVS:
* gst/level/gstlevel.c: (gst_level_message_new):
Fix compilation (also known as the classic 'fix code that someone
committed without compiling it first').

ChangeLog
gst/level/gstlevel.c

index ec67061ede217d6436f5f491980d149ddfeabb93..6d89fa5ed87c0b7eee7e25823a54d34c312d1c32 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
+
+       * gst/level/gstlevel.c: (gst_level_message_new):
+        Fix compilation (also known as the classic 'fix code that someone
+        committed without compiling it first').
+
 2008-08-10  Stefan Kost  <ensonic@users.sf.net>
 
        * tests/check/elements/level.c:
index d117fa36830318cce85d5930f1f2086217772947..d4bdc4e0af682c753ea6e3cc279f6cdefea358e7 100644 (file)
@@ -502,7 +502,7 @@ static GstMessage *
 gst_level_message_new (GstLevel * level, GstClockTime timestamp,
     GstClockTime duration)
 {
-  GstBaseTransform *trans = GST_BASE_TRANSFORM_CAST (l);
+  GstBaseTransform *trans = GST_BASE_TRANSFORM_CAST (level);
   GstStructure *s;
   GValue v = { 0, };
   GstClockTime endtime, running_time, stream_time;