summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2004-09-12 22:57:26 +0000
committerDavid Schleef <ds@schleef.org>2004-09-12 22:57:26 +0000
commite77b1b0e38f11305828356e136bc54633fceafd5 (patch)
tree34578070fb3c06418a4a494d11fd927274108f57 /ext
parent2e89acbceae146cb364e577a6b4f3d31cd4f5291 (diff)
downloadgst-plugins-bad-e77b1b0e38f11305828356e136bc54633fceafd5.tar.gz
gst-plugins-bad-e77b1b0e38f11305828356e136bc54633fceafd5.tar.bz2
gst-plugins-bad-e77b1b0e38f11305828356e136bc54633fceafd5.zip
Fixes: #151879, #151881, #151882, #151883, #151884, #151886, #151887, #152102, #152247.
Original commit message from CVS: Fixes: #151879, #151881, #151882, #151883, #151884, #151886, #151887, #152102, #152247. * examples/indexing/indexmpeg.c: 64-bit warning fixes. * examples/seeking/cdparanoia.c: same * examples/seeking/cdplayer.c: same * examples/seeking/seek.c: same * examples/seeking/spider_seek.c: same * examples/seeking/vorbisfile.c: same * examples/stats/mp2ogg.c: same * ext/esd/esdsink.c: (gst_esdsink_class_init), (gst_esdsink_dispose): Dispose of element properly. * ext/ivorbis/vorbisfile.c: (gst_ivorbisfile_seek): 64-bit warning fixes. * ext/nas/nassink.c: (gst_nassink_class_init), (gst_nassink_dispose): Dispose of element correctly. * gst/wavenc/gstwavenc.c: (gst_wavenc_chain): Fix leak. * sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls), (gst_ximagesink_ximage_new), (gst_ximagesink_ximage_destroy): Fix 64-bit warning. * sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls), (gst_xvimagesink_xvimage_new), (gst_xvimagesink_xvimage_destroy): Fix 64-bit warning.
Diffstat (limited to 'ext')
-rw-r--r--ext/ivorbis/vorbisfile.c2
-rw-r--r--ext/nas/nassink.c10
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)
{