Change frame_filter_flags to use DEF_ENUM_FLAGS_TYPE