Don't unref the message.

Original commit message from CVS:
(gst_dv1394src_bus_reset): Don't unref the message.
This commit is contained in:
Andy Wingo 2005-10-07 16:28:24 +00:00
parent cf60bb696e
commit e2d6dc5528
2 changed files with 1 additions and 1 deletions

View file

@ -5,6 +5,7 @@
(gst_dv1394src_bus_reset): Post a message when the cable is (gst_dv1394src_bus_reset): Post a message when the cable is
unplugged. unplugged.
(gst_dv1394src_create, gst_dv1394src_unlock): Remove some prints. (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 * ext/raw1394/gstdv1394src.c: Clean up for style before doing some
hacking. The only change should be that the state change stuff was hacking. The only change should be that the state change stuff was

View file

@ -452,7 +452,6 @@ gst_dv1394src_bus_reset (raw1394handle_t handle, unsigned int generation)
nodecount, NULL); nodecount, NULL);
message = gst_message_new_element (GST_OBJECT (src), structure); message = gst_message_new_element (GST_OBJECT (src), structure);
gst_element_post_message (GST_ELEMENT (src), message); gst_element_post_message (GST_ELEMENT (src), message);
gst_message_unref (message);
return 0; return 0;
} }