diff options
Diffstat (limited to 'gst/festival')
-rw-r--r-- | gst/festival/gstfestival.c | 4 | ||||
-rw-r--r-- | gst/festival/gstfestival.h | 4 |
2 files changed, 4 insertions, 4 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; } diff --git a/gst/festival/gstfestival.h b/gst/festival/gstfestival.h index ab463106..c7c91e32 100644 --- a/gst/festival/gstfestival.h +++ b/gst/festival/gstfestival.h @@ -94,9 +94,9 @@ typedef struct FT_Info (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_FESTIVAL)) typedef enum { - GST_FESTIVAL_OPEN = GST_ELEMENT_FLAG_LAST, + GST_FESTIVAL_OPEN = (GST_ELEMENT_FLAG_LAST << 0), - GST_FESTIVAL_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 2, + GST_FESTIVAL_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2), } GstFestivalFlags; typedef struct _GstFestival GstFestival; |