+2007-03-08 Jan Schmidt <thaytan@mad.scientist.com>
+
+ * ext/alsa/gstalsasink.c: (gst_alsasink_open):
+ Extra log line.
+
+ * ext/pango/gstclockoverlay.c: (gst_clock_overlay_init):
+ * ext/pango/gsttimeoverlay.c: (gst_time_overlay_init):
+ Use pango_font_description_set_family_static instead of
+ pango_font_description_set_family to save a string copy (it was
+ leaking due to the strdup anyway)
+
+ * gst/tcp/gsttcpclientsink.c: (gst_tcp_client_sink_finalize):
+ * gst/tcp/gsttcpclientsrc.c: (gst_tcp_client_src_finalize):
+ * gst/tcp/gsttcpserversink.c: (gst_tcp_server_sink_finalize):
+ * gst/tcp/gsttcpserversrc.c: (gst_tcp_server_src_finalize):
+ Chain up in finalize.
+
2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
* gst-libs/gst/interfaces/mixertrack.c:
-Subproject commit c4f56a657d79aee0e3fc25ef2bcf876f9f3c1593
+Subproject commit 7c5a0ab68de1fed4e5a1fd473160debc2c4c7b89
CHECK (snd_pcm_open (&alsa->handle, alsa->device, SND_PCM_STREAM_PLAYBACK,
SND_PCM_NONBLOCK), open_error);
+ GST_LOG_OBJECT (alsa, "Opened device %s", alsa->device);
return TRUE;
pango_context_set_base_dir (context, PANGO_DIRECTION_LTR);
font_description = pango_font_description_new ();
- pango_font_description_set_family (font_description, g_strdup ("Monospace"));
+ pango_font_description_set_family_static (font_description, "Monospace");
pango_font_description_set_style (font_description, PANGO_STYLE_NORMAL);
pango_font_description_set_variant (font_description, PANGO_VARIANT_NORMAL);
pango_font_description_set_weight (font_description, PANGO_WEIGHT_NORMAL);
pango_context_set_base_dir (context, PANGO_DIRECTION_LTR);
font_description = pango_font_description_new ();
- pango_font_description_set_family (font_description, g_strdup ("Monospace"));
+ pango_font_description_set_family_static (font_description, "Monospace");
pango_font_description_set_style (font_description, PANGO_STYLE_NORMAL);
pango_font_description_set_variant (font_description, PANGO_VARIANT_NORMAL);
pango_font_description_set_weight (font_description, PANGO_WEIGHT_NORMAL);
GstTCPClientSink *this = GST_TCP_CLIENT_SINK (gobject);
g_free (this->host);
+
+ G_OBJECT_CLASS (parent_class)->finalize (gobject);
}
static gboolean
GstTCPClientSrc *this = GST_TCP_CLIENT_SRC (gobject);
g_free (this->host);
+
+ G_OBJECT_CLASS (parent_class)->finalize (gobject);
}
static GstCaps *
GstTCPServerSink *this = GST_TCP_SERVER_SINK (gobject);
g_free (this->host);
+
+ G_OBJECT_CLASS (parent_class)->finalize (gobject);
}
/* handle a read request on the server,
GstTCPServerSrc *src = GST_TCP_SERVER_SRC (gobject);
g_free (src->host);
+
+ G_OBJECT_CLASS (parent_class)->finalize (gobject);
}
static GstFlowReturn