use gst_version_string

Original commit message from CVS:
use gst_version_string
This commit is contained in:
Thomas Vander Stichele 2005-10-16 14:33:05 +00:00
parent e9cbfb6624
commit 3650ac0c24
2 changed files with 6 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/shout2/gstshout2.c: (gst_shout2send_change_state):
use new gst_version_string()
2005-10-16 Andy Wingo <wingo@pobox.com>
* configure.ac: GLIB_CHECK.

View file

@ -536,7 +536,6 @@ gst_shout2send_change_state (GstElement * element, GstStateChange transition)
GstShout2send *shout2send;
GstStateChangeReturn ret;
guint major, minor, micro;
gshort proto = 3;
gchar *version_string;
@ -622,10 +621,7 @@ gst_shout2send_change_state (GstElement * element, GstStateChange transition)
shout_get_error (shout2send->conn));
}
gst_version (&major, &minor, &micro);
version_string =
g_strdup_printf ("GStreamer %d.%d.%d", major, minor, micro);
version_string = gst_version_string ();
if (shout_set_agent (shout2send->conn,
version_string) != SHOUTERR_SUCCESS) {