theoraparse: Use the correct unref functions
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 22 Feb 2009 18:19:04 +0000 (19:19 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 22 Feb 2009 18:19:04 +0000 (19:19 +0100)
ext/theora/theoraparse.c

index ae49ea6..76b17d7 100644 (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);
   }
 }