Remove incorrect gst_message_unref. It should only be called from *sync* handlers that are returning GST_BUS_DROP.

This commit is contained in:
John Maguire 2010-06-15 22:30:06 +00:00
parent abdc2eee2e
commit a8f7df9e28
2 changed files with 0 additions and 2 deletions

View File

@ -222,7 +222,6 @@ gboolean SongLoader::BusCallback(GstBus*, GstMessage* msg, gpointer self) {
break;
}
gst_message_unref(msg);
return GST_BUS_DROP;
}

View File

@ -195,7 +195,6 @@ gboolean GstEnginePipeline::BusCallback(GstBus*, GstMessage* msg, gpointer self)
break;
}
gst_message_unref(msg);
return GST_BUS_DROP;
}