fpsdisplaysink: fix setting sync on child bin
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Wed, 16 Dec 2009 21:32:42 +0000 (18:32 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Wed, 16 Dec 2009 21:36:15 +0000 (18:36 -0300)
commitd2dce72c602465654ba45145f695cc427c052c50
tree5d88f2fc51f7c844542eab4822ed57377910936a
parent9c03149e7b8375388ab779f2f51a3dbbab57f7bb
fpsdisplaysink: fix setting sync on child bin

Use GST_IS_BIN instead of G_OBJECT_TYPE to check if the
internal sink is a bin. Using the later won't work when
the sink is not a bin directly (but inherits from one, like
autovideosink).

Fixes #604280
gst/debugutils/fpsdisplaysink.c