diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/ivorbis/vorbisfile.c | 2 | ||||
-rw-r--r-- | ext/nas/nassink.c | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/ext/ivorbis/vorbisfile.c b/ext/ivorbis/vorbisfile.c index 42ea5968..e1db57d2 100644 --- a/ext/ivorbis/vorbisfile.c +++ b/ext/ivorbis/vorbisfile.c @@ -354,7 +354,7 @@ gst_ivorbisfile_seek (void *datasource, int64_t offset, int whence) return -1; } - GST_DEBUG ("seek %lld %d", offset, whence); + GST_DEBUG ("seek %" G_GINT64_FORMAT " %d", offset, whence); if (whence == SEEK_SET) { method = GST_SEEK_METHOD_SET; diff --git a/ext/nas/nassink.c b/ext/nas/nassink.c index 7c3a10ac..f9b67a20 100644 --- a/ext/nas/nassink.c +++ b/ext/nas/nassink.c @@ -67,6 +67,7 @@ static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink", static void gst_nassink_base_init (gpointer g_class); static void gst_nassink_class_init (GstNassinkClass * klass); static void gst_nassink_init (GstNassink * nassink); +static void gst_nassink_dispose (GObject * object); static gboolean gst_nassink_open_audio (GstNassink * sink); static void gst_nassink_close_audio (GstNassink * sink); @@ -152,6 +153,7 @@ gst_nassink_class_init (GstNassinkClass * klass) gobject_class->set_property = gst_nassink_set_property; gobject_class->get_property = gst_nassink_get_property; + gobject_class->dispose = gst_nassink_dispose; g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_MUTE, g_param_spec_boolean ("mute", "mute", "mute", TRUE, G_PARAM_READWRITE)); /* CHECKME */ g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_HOST, g_param_spec_string ("host", "host", "host", NULL, G_PARAM_READWRITE)); /* CHECKME */ @@ -187,6 +189,14 @@ gst_nassink_init (GstNassink * nassink) nassink->buf = NULL; } +static void +gst_nassink_dispose (GObject * object) +{ + GstNassink *nassink = GST_NASSINK (object); + + g_free (nassink->host); +} + static GstCaps * gst_nassink_getcaps (GstPad * pad) { |