Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
luzpaz
gstreamer
Commits
20d2734a
Commit
20d2734a
authored
May 02, 2009
by
Wim Taymans
Committed by
Wim Taymans
May 11, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gstobject: avoid type checks
parent
13515a75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
gst/gstobject.c
gst/gstobject.c
+2
-7
No files found.
gst/gstobject.c
View file @
20d2734a
...
...
@@ -472,12 +472,8 @@ gst_object_dispatch_properties_changed (GObject * object,
guint
i
;
gchar
*
name
,
*
debug_name
;
/* we fail when this is not a GstObject */
g_return_if_fail
(
GST_IS_OBJECT
(
object
));
/* do the standard dispatching */
G_OBJECT_CLASS
(
parent_class
)
->
dispatch_properties_changed
(
object
,
n_pspecs
,
pspecs
);
parent_class
->
dispatch_properties_changed
(
object
,
n_pspecs
,
pspecs
);
gst_object
=
GST_OBJECT_CAST
(
object
);
name
=
gst_object_get_name
(
gst_object
);
...
...
@@ -491,8 +487,7 @@ gst_object_dispatch_properties_changed (GObject * object,
"deep notification from %s (%s)"
,
debug_name
,
pspecs
[
i
]
->
name
);
g_signal_emit
(
parent
,
gst_object_signals
[
DEEP_NOTIFY
],
g_quark_from_string
(
pspecs
[
i
]
->
name
),
GST_OBJECT_CAST
(
object
),
pspecs
[
i
]);
g_quark_from_string
(
pspecs
[
i
]
->
name
),
gst_object
,
pspecs
[
i
]);
}
old_parent
=
parent
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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