Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
luzpaz
gstreamer
Commits
ca709618
Commit
ca709618
authored
Sep 14, 2001
by
Joshua N. Pritikin
Browse files
turn assertion into nice error message
Original commit message from CVS: turn assertion into nice error message
parent
668bbfbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
gst/gstpad.c
View file @
ca709618
...
@@ -1446,7 +1446,12 @@ gst_pad_pull (GstPad *pad)
...
@@ -1446,7 +1446,12 @@ gst_pad_pull (GstPad *pad)
GST_DEBUG_ENTER
(
"(%s:%s)"
,
GST_DEBUG_PAD_NAME
(
pad
));
GST_DEBUG_ENTER
(
"(%s:%s)"
,
GST_DEBUG_PAD_NAME
(
pad
));
g_return_val_if_fail
(
GST_PAD_DIRECTION
(
pad
)
==
GST_PAD_SINK
,
NULL
);
g_return_val_if_fail
(
GST_PAD_DIRECTION
(
pad
)
==
GST_PAD_SINK
,
NULL
);
g_return_val_if_fail
(
peer
!=
NULL
,
NULL
);
if
(
!
peer
)
{
g_critical
(
"gst_pad_pull but %s:%s is unconnected"
,
GST_DEBUG_PAD_NAME
(
pad
));
return
NULL
;
}
if
(
peer
->
gethandler
)
{
if
(
peer
->
gethandler
)
{
GST_DEBUG
(
GST_CAT_DATAFLOW
,
"calling gethandler %s of peer pad %s:%s
\n
"
,
GST_DEBUG
(
GST_CAT_DATAFLOW
,
"calling gethandler %s of peer pad %s:%s
\n
"
,
...
...
Write
Preview
Supports
Markdown
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