mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
fix 'invalid cast' warning
Original commit message from CVS: fix 'invalid cast' warning
This commit is contained in:
parent
8cd991a9d6
commit
cd8a89261c
1 changed files with 1 additions and 1 deletions
|
@ -587,7 +587,7 @@ gst_spider_find_element_to_plug (GstElement *src, GstElementFactory *fac, GstPad
|
||||||
{
|
{
|
||||||
GstPad *pad = (GstPad *) GST_PAD_REALIZE (padlist->data);
|
GstPad *pad = (GstPad *) GST_PAD_REALIZE (padlist->data);
|
||||||
/* is the pad on the right side and is it connected? */
|
/* is the pad on the right side and is it connected? */
|
||||||
if ((GST_PAD_DIRECTION (pad) == dir) && (pad = GST_PAD (GST_RPAD_PEER (pad))))
|
if ((GST_PAD_DIRECTION (pad) == dir) && (pad = (GstPad *) (GST_RPAD_PEER (pad))))
|
||||||
{
|
{
|
||||||
/* is the element the pad is connected to of the right type? */
|
/* is the element the pad is connected to of the right type? */
|
||||||
GstElement *element = GST_PAD_PARENT (pad);
|
GstElement *element = GST_PAD_PARENT (pad);
|
||||||
|
|
Loading…
Reference in a new issue