videomeasure: Remove dead assignments

This commit is contained in:
Edward Hervey 2010-11-25 19:31:03 +01:00
parent ba40212297
commit 3a507f9ef9
2 changed files with 1 additions and 9 deletions

View file

@ -120,12 +120,9 @@ gst_measure_collector_collect (GstMeasureCollector * mc, GstEvent * gstevent)
static void
gst_measure_collector_post_message (GstMeasureCollector * mc)
{
GstBaseTransform *trans;
GstMessage *m;
guint64 i;
trans = GST_BASE_TRANSFORM_CAST (mc);
g_return_if_fail (mc->metric);
if (strcmp (mc->metric, "SSIM") == 0) {

View file

@ -866,15 +866,12 @@ forward_event_func (GstPad * pad, GValue * ret, GstEvent * event)
static gboolean
forward_event (GstSSim * ssim, GstEvent * event)
{
gboolean ret;
GstIterator *it;
GValue vret = { 0 };
GST_LOG_OBJECT (ssim, "Forwarding event %p (%s)", event,
GST_EVENT_TYPE_NAME (event));
ret = TRUE;
g_value_init (&vret, G_TYPE_BOOLEAN);
g_value_set_boolean (&vret, TRUE);
it = gst_element_iterate_sink_pads (GST_ELEMENT_CAST (ssim));
@ -883,9 +880,7 @@ forward_event (GstSSim * ssim, GstEvent * event)
gst_iterator_free (it);
gst_event_unref (event);
ret = g_value_get_boolean (&vret);
return ret;
return g_value_get_boolean (&vret);
}
static gboolean