mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
gst/gstpad.override (handle_event_function_exception)
Original commit message from CVS: 2005-12-16 Andy Wingo <wingo@pobox.com> * gst/gstpad.override (handle_event_function_exception) (handle_chain_function_exception): GCC told me I needed braces here.
This commit is contained in:
parent
c45f28f872
commit
1374aac3fa
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-12-16 Andy Wingo <wingo@pobox.com>
|
||||
|
||||
* gst/gstpad.override (handle_event_function_exception)
|
||||
(handle_chain_function_exception): GCC told me I needed braces
|
||||
here.
|
||||
|
||||
2005-12-14 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* Makefile.am:
|
||||
|
|
|
@ -255,8 +255,9 @@ handle_chain_function_exception (GValue *ret, guint n, const GValue *params)
|
|||
{
|
||||
GstElement *element = GST_ELEMENT (gst_object_get_parent (g_value_get_object (¶ms[0])));
|
||||
|
||||
if (!_pygst_element_check_error (element))
|
||||
if (!_pygst_element_check_error (element)) {
|
||||
g_assert_not_reached (); /* only returns FALSE when there's no error */
|
||||
}
|
||||
}
|
||||
|
||||
static GstFlowReturn
|
||||
|
@ -305,8 +306,9 @@ handle_event_function_exception (GValue *ret, guint n, const GValue *params)
|
|||
{
|
||||
GstElement *element = GST_ELEMENT (gst_pad_get_parent (g_value_get_object (¶ms[0])));
|
||||
|
||||
if (!_pygst_element_check_error (element))
|
||||
if (!_pygst_element_check_error (element)) {
|
||||
g_assert_not_reached (); /* only returns FALSE when there's no error */
|
||||
}
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
Loading…
Reference in a new issue