summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2005-10-07 16:28:24 +0000
committerAndy Wingo <wingo@pobox.com>2005-10-07 16:28:24 +0000
commite2d6dc55287c9bde76b37a4e3c83e9cebc06fd39 (patch)
tree658de510434731779ce19addfd26c6da798287ef
parentcf60bb696eaf67c934af9f2424d95cc7d4d82285 (diff)
Don't unref the message.
Original commit message from CVS: (gst_dv1394src_bus_reset): Don't unref the message.
-rw-r--r--ChangeLog1
-rw-r--r--ext/raw1394/gstdv1394src.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 825e3e2f..019b5ed3 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 8c1995de..e39bb198 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;
}