summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2008-08-11 10:53:06 +0000
committerEdward Hervey <bilboed@bilboed.com>2008-08-11 10:53:06 +0000
commit9b7172ae9e6aa18ac3ee79ea0286324b0b4d236f (patch)
tree45dd29abf64f715fa6b4dcbec90d1fa35d312e71
parente6663a01f270085ccbd67cde0e1f27efbfb8fa36 (diff)
gst/level/gstlevel.c: Fix compilation (also known as the classic 'fix code that someone committed without compiling i...
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').
-rw-r--r--ChangeLog6
-rw-r--r--gst/level/gstlevel.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ec67061e..6d89fa5e 100644
--- 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:
diff --git a/gst/level/gstlevel.c b/gst/level/gstlevel.c
index d117fa36..d4bdc4e0 100644
--- a/gst/level/gstlevel.c
+++ b/gst/level/gstlevel.c
@@ -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;