flactag, wavparse: GstAdapter is not a GstObject

This commit is contained in:
Tim-Philipp Müller 2009-08-31 13:07:53 +01:00
parent 540cf8a11e
commit d875e72b02
2 changed files with 2 additions and 2 deletions

View file

@ -146,7 +146,7 @@ gst_flac_tag_dispose (GObject * object)
GstFlacTag *tag = GST_FLAC_TAG (object);
if (tag->adapter) {
gst_object_unref (tag->adapter);
g_object_unref (tag->adapter);
tag->adapter = NULL;
}
if (tag->vorbiscomment) {

View file

@ -2441,7 +2441,7 @@ gst_wavparse_sink_activate (GstPad * sinkpad)
gboolean res;
if (wav->adapter)
gst_object_unref (wav->adapter);
g_object_unref (wav->adapter);
if (gst_pad_check_pull_range (sinkpad)) {
GST_DEBUG ("going to pull mode");