From e2d6dc55287c9bde76b37a4e3c83e9cebc06fd39 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Fri, 7 Oct 2005 16:28:24 +0000 Subject: [PATCH] Don't unref the message. Original commit message from CVS: (gst_dv1394src_bus_reset): Don't unref the message. --- ChangeLog | 1 + ext/raw1394/gstdv1394src.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 825e3e2f8d..019b5ed37e 100644 --- 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 diff --git a/ext/raw1394/gstdv1394src.c b/ext/raw1394/gstdv1394src.c index 8c1995deb3..e39bb1986c 100644 --- a/ext/raw1394/gstdv1394src.c +++ b/ext/raw1394/gstdv1394src.c @@ -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; }