diff options
Diffstat (limited to 'ext/nas/nassink.c')
-rw-r--r-- | ext/nas/nassink.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/nas/nassink.c b/ext/nas/nassink.c index c685eb91..dafe71bc 100644 --- a/ext/nas/nassink.c +++ b/ext/nas/nassink.c @@ -425,7 +425,7 @@ gst_nassink_open_audio (GstNassink * sink) /* Start a flow */ - GST_FLAG_SET (sink, GST_NASSINK_OPEN); + GST_OBJECT_FLAG_SET (sink, GST_NASSINK_OPEN); GST_CAT_DEBUG (NAS, "opened audio device"); return TRUE; @@ -455,7 +455,7 @@ gst_nassink_close_audio (GstNassink * sink) AuCloseServer (sink->audio); sink->audio = NULL; - GST_FLAG_UNSET (sink, GST_NASSINK_OPEN); + GST_OBJECT_FLAG_UNSET (sink, GST_NASSINK_OPEN); GST_CAT_DEBUG (NAS, "closed audio device"); } @@ -471,12 +471,12 @@ gst_nassink_change_state (GstElement * element, GstStateChange transition) switch (GST_STATE_PENDING (element)) { case GST_STATE_NULL: - if (GST_FLAG_IS_SET (element, GST_NASSINK_OPEN)) + if (GST_OBJECT_FLAG_IS_SET (element, GST_NASSINK_OPEN)) gst_nassink_close_audio (nassink); break; case GST_STATE_READY: - if (!GST_FLAG_IS_SET (element, GST_NASSINK_OPEN)) + if (!GST_OBJECT_FLAG_IS_SET (element, GST_NASSINK_OPEN)) gst_nassink_open_audio (nassink); break; |