diff options
Diffstat (limited to 'gst/festival/gstfestival.c')
-rw-r--r-- | gst/festival/gstfestival.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/festival/gstfestival.c b/gst/festival/gstfestival.c index 62e60e64..ffe2fc12 100644 --- a/gst/festival/gstfestival.c +++ b/gst/festival/gstfestival.c @@ -417,10 +417,10 @@ gst_festival_change_state (GstElement * element, GstStateChange transition) g_return_val_if_fail (GST_IS_FESTIVAL (element), GST_STATE_CHANGE_FAILURE); if (GST_STATE_PENDING (element) == GST_STATE_NULL) { - if (GST_FLAG_IS_SET (element, GST_FESTIVAL_OPEN)) + if (GST_OBJECT_FLAG_IS_SET (element, GST_FESTIVAL_OPEN)) gst_festival_close (GST_FESTIVAL (element)); } else { - if (!GST_FLAG_IS_SET (element, GST_FESTIVAL_OPEN)) { + if (!GST_OBJECT_FLAG_IS_SET (element, GST_FESTIVAL_OPEN)) { if (!gst_festival_open (GST_FESTIVAL (element))) return GST_STATE_CHANGE_FAILURE; } |