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 ec67061..6d89fa5 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 d117fa3..d4bdc4e 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;