ext/alsa/gstalsasink.c: Extra log line.
authorJan Schmidt <thaytan@mad.scientist.com>
Thu, 8 Mar 2007 12:53:51 +0000 (12:53 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Thu, 8 Mar 2007 12:53:51 +0000 (12:53 +0000)
Original commit message from CVS:
* 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.

ChangeLog
common
ext/alsa/gstalsasink.c
ext/pango/gstclockoverlay.c
ext/pango/gsttimeoverlay.c
gst/tcp/gsttcpclientsink.c
gst/tcp/gsttcpclientsrc.c
gst/tcp/gsttcpserversink.c
gst/tcp/gsttcpserversrc.c

index 01f60b8..b608ba6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+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:
diff --git a/common b/common
index c4f56a6..7c5a0ab 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit c4f56a657d79aee0e3fc25ef2bcf876f9f3c1593
+Subproject commit 7c5a0ab68de1fed4e5a1fd473160debc2c4c7b89
index 7e025dd..0329d4f 100644 (file)
@@ -610,6 +610,7 @@ gst_alsasink_open (GstAudioSink * asink)
 
   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;
 
index 442eda9..efffb02 100644 (file)
@@ -143,7 +143,7 @@ gst_clock_overlay_init (GstClockOverlay * overlay, GstClockOverlayClass * klass)
   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);
index 640ddb3..20c2709 100644 (file)
@@ -146,7 +146,7 @@ gst_time_overlay_init (GstTimeOverlay * overlay, GstTimeOverlayClass * klass)
   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);
index d863e84..32a95c4 100644 (file)
@@ -171,6 +171,8 @@ gst_tcp_client_sink_finalize (GObject * gobject)
   GstTCPClientSink *this = GST_TCP_CLIENT_SINK (gobject);
 
   g_free (this->host);
+
+  G_OBJECT_CLASS (parent_class)->finalize (gobject);
 }
 
 static gboolean
index b277feb..87caea5 100644 (file)
@@ -168,6 +168,8 @@ gst_tcp_client_src_finalize (GObject * gobject)
   GstTCPClientSrc *this = GST_TCP_CLIENT_SRC (gobject);
 
   g_free (this->host);
+
+  G_OBJECT_CLASS (parent_class)->finalize (gobject);
 }
 
 static GstCaps *
index 5b35b8c..a2c782e 100644 (file)
@@ -132,6 +132,8 @@ gst_tcp_server_sink_finalize (GObject * gobject)
   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,
index 1cd674c..b638f43 100644 (file)
@@ -163,6 +163,8 @@ gst_tcp_server_src_finalize (GObject * gobject)
   GstTCPServerSrc *src = GST_TCP_SERVER_SRC (gobject);
 
   g_free (src->host);
+
+  G_OBJECT_CLASS (parent_class)->finalize (gobject);
 }
 
 static GstFlowReturn