theoraparse: Use the correct unref functions

This commit is contained in:
Sebastian Dröge 2009-02-22 19:19:04 +01:00
parent 8c74d858ba
commit 2ab2bbd82c

View file

@ -394,7 +394,7 @@ theora_parse_clear_queue (GstTheoraParse * parse)
GstEvent *event;
event = GST_EVENT_CAST (g_queue_pop_head (parse->event_queue));
gst_buffer_unref (event);
gst_event_unref (event);
}
}