mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
use gst_version_string
Original commit message from CVS: use gst_version_string
This commit is contained in:
parent
e9cbfb6624
commit
3650ac0c24
2 changed files with 6 additions and 5 deletions
|
@ -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.
|
||||
|
|
|
@ -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, µ);
|
||||
|
||||
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) {
|
||||
|
|
Loading…
Reference in a new issue