Don't unref the message.
authorAndy Wingo <wingo@pobox.com>
Fri, 7 Oct 2005 16:28:24 +0000 (16:28 +0000)
committerAndy Wingo <wingo@pobox.com>
Fri, 7 Oct 2005 16:28:24 +0000 (16:28 +0000)
Original commit message from CVS:
(gst_dv1394src_bus_reset): Don't unref the message.

ChangeLog
ext/raw1394/gstdv1394src.c

index 825e3e2..019b5ed 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
        (gst_dv1394src_bus_reset): Post a message when the cable is
        unplugged.
        (gst_dv1394src_create, gst_dv1394src_unlock): Remove some prints.
+        (gst_dv1394src_bus_reset): Don't unref the message.
 
        * ext/raw1394/gstdv1394src.c: Clean up for style before doing some
        hacking. The only change should be that the state change stuff was
index 8c1995d..e39bb19 100644 (file)
@@ -452,7 +452,6 @@ gst_dv1394src_bus_reset (raw1394handle_t handle, unsigned int generation)
       nodecount, NULL);
   message = gst_message_new_element (GST_OBJECT (src), structure);
   gst_element_post_message (GST_ELEMENT (src), message);
-  gst_message_unref (message);
 
   return 0;
 }