Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
George Kiagiadakis
gst-plugins-good
Commits
89227af4
Commit
89227af4
authored
Jun 09, 2010
by
Sebastian Dröge
Browse files
gconfaudiosink: Rename instance variable to be more descriptive
parent
b7d43591
Changes
2
Hide whitespace changes
Inline
Side-by-side
ext/gconf/gstgconfaudiosink.c
View file @
89227af4
...
...
@@ -216,11 +216,11 @@ gst_gconf_switch_profile (GstGConfAudioSink * sink, GstGConfProfile profile)
if
(
sink
->
client
==
NULL
)
return
;
if
(
sink
->
connection
)
{
if
(
sink
->
notify_id
)
{
GST_DEBUG_OBJECT
(
sink
,
"Unsubscribing old key %s for profile %d"
,
gst_gconf_get_key_for_sink_profile
(
sink
->
profile
),
sink
->
profile
);
gconf_client_notify_remove
(
sink
->
client
,
sink
->
connection
);
sink
->
connection
=
0
;
gconf_client_notify_remove
(
sink
->
client
,
sink
->
notify_id
);
sink
->
notify_id
=
0
;
}
sink
->
profile
=
profile
;
...
...
@@ -229,7 +229,7 @@ gst_gconf_switch_profile (GstGConfAudioSink * sink, GstGConfProfile profile)
GST_DEBUG_OBJECT
(
sink
,
"Subscribing to key %s for profile %d"
,
key
,
profile
);
sink
->
connection
=
gconf_client_notify_add
(
sink
->
client
,
key
,
sink
->
notify_id
=
gconf_client_notify_add
(
sink
->
client
,
key
,
cb_change_child
,
sink
,
NULL
,
NULL
);
}
}
...
...
ext/gconf/gstgconfaudiosink.h
View file @
89227af4
...
...
@@ -45,7 +45,7 @@ typedef struct _GstGConfAudioSink {
/* explicit pointers to stuff used */
GConfClient
*
client
;
GstGConfProfile
profile
;
guint
connection
;
guint
notify_id
;
/* Current gconf string */
gchar
*
gconf_str
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment