Esempio n. 1
0
/*
 * Class method: get_flag(tag)
 * tag: the name of the tag.
 *
 * Gets the flag of the given tag.
 *
 * Returns: the flag of this tag (see Gst::Tag::Flag).
 */
static VALUE
rg_s_get_flag (G_GNUC_UNUSED VALUE self, VALUE tag)
{
    return GFLAGS2RVAL (gst_tag_get_flag (RVAL2CSTR (tag)),
                        GST_TYPE_TAG_FLAG);
}
Esempio n. 2
0
/*
 * Class method: get_flag(tag)
 * tag: the name of the tag.
 *
 * Gets the flag of the given tag.
 *
 * Returns: the flag of this tag (see Gst::Tag::Flag).
 */
static VALUE
rb_gst_tag_get_flag (VALUE self, VALUE tag)
{
    return GFLAGS2RVAL (gst_tag_get_flag (RVAL2CSTR (tag)),
                        GST_TYPE_TAG_FLAG);
}