diff --git a/ChangeLog b/ChangeLog index ec67061ede2..6d89fa5ed87 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-08-11 Edward Hervey + + * 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 * tests/check/elements/level.c: diff --git a/gst/level/gstlevel.c b/gst/level/gstlevel.c index d117fa36830..d4bdc4e0af6 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;