mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
pre-C99 fixes
Original commit message from CVS: pre-C99 fixes
This commit is contained in:
parent
30b54891b6
commit
3fcf384570
2 changed files with 4 additions and 3 deletions
|
@ -1191,10 +1191,10 @@ cdparanoia_uri_set_uri (GstURIHandler * handler, const gchar * uri)
|
|||
gchar *protocol, *location;
|
||||
gboolean ret;
|
||||
|
||||
ret = TRUE;
|
||||
|
||||
CDParanoia *cdparanoia = CDPARANOIA (handler);
|
||||
|
||||
ret = TRUE;
|
||||
|
||||
protocol = gst_uri_get_protocol (uri);
|
||||
if (strcmp (protocol, "cdda") != 0) {
|
||||
g_free (protocol);
|
||||
|
|
|
@ -233,6 +233,7 @@ gst_stream_info_set_property (GObject * object, guint prop_id,
|
|||
const GValue * value, GParamSpec * pspec)
|
||||
{
|
||||
GstStreamInfo *stream_info;
|
||||
gboolean new_mute;
|
||||
|
||||
g_return_if_fail (GST_IS_STREAM_INFO (object));
|
||||
|
||||
|
@ -245,7 +246,7 @@ gst_stream_info_set_property (GObject * object, guint prop_id,
|
|||
g_warning ("cannot mute element stream");
|
||||
break;
|
||||
}
|
||||
gboolean new_mute = g_value_get_boolean (value);
|
||||
new_mute = g_value_get_boolean (value);
|
||||
|
||||
if (new_mute != stream_info->mute) {
|
||||
stream_info->mute = new_mute;
|
||||
|
|
Loading…
Reference in a new issue